fix: add event description to webhook res

This commit is contained in:
Lakhan Samani 2023-03-29 07:31:07 +05:30
parent c908ac94da
commit 16136931a9

View File

@ -41,6 +41,7 @@ func RegisterEvent(ctx context.Context, eventName string, authRecipe string, use
reqBody := map[string]interface{}{ reqBody := map[string]interface{}{
"webhook_id": webhook.ID, "webhook_id": webhook.ID,
"event_name": eventName, "event_name": eventName,
"event_description": webhook.EventDescription,
"user": userMap, "user": userMap,
} }