fix: encoding wrong version

This commit is contained in:
Derrick Hammer 2024-02-11 23:25:43 -05:00
parent e907aa7e99
commit d83df43411
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func (whm *WebhookManager) sendWebhooks(request interface{}, r *http.Request) {
ID uint `json:"id"`
}{ID: app.ID}
payloadBytes, err = json.Marshal(request)
payloadBytes, err = json.Marshal(rawMap)
if err != nil {
whm.logger.Error("Failed to marshal payload", zap.Error(err))
return