fix: add event description to webhook res
This commit is contained in:
parent
c908ac94da
commit
16136931a9
|
@ -39,9 +39,10 @@ func RegisterEvent(ctx context.Context, eventName string, authRecipe string, use
|
|||
}
|
||||
|
||||
reqBody := map[string]interface{}{
|
||||
"webhook_id": webhook.ID,
|
||||
"event_name": eventName,
|
||||
"user": userMap,
|
||||
"webhook_id": webhook.ID,
|
||||
"event_name": eventName,
|
||||
"event_description": webhook.EventDescription,
|
||||
"user": userMap,
|
||||
}
|
||||
|
||||
if eventName == constants.UserLoginWebhookEvent || eventName == constants.UserSignUpWebhookEvent {
|
||||
|
|
Loading…
Reference in New Issue
Block a user