fix: encoding wrong version
This commit is contained in:
parent
e907aa7e99
commit
d83df43411
|
@ -62,7 +62,7 @@ func (whm *WebhookManager) sendWebhooks(request interface{}, r *http.Request) {
|
||||||
ID uint `json:"id"`
|
ID uint `json:"id"`
|
||||||
}{ID: app.ID}
|
}{ID: app.ID}
|
||||||
|
|
||||||
payloadBytes, err = json.Marshal(request)
|
payloadBytes, err = json.Marshal(rawMap)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
whm.logger.Error("Failed to marshal payload", zap.Error(err))
|
whm.logger.Error("Failed to marshal payload", zap.Error(err))
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue