enhance(webhook): add userId to payload

This commit is contained in:
syuilo
2022-04-03 22:42:01 +09:00
parent f8e6f3cc73
commit ec3be7e4d3
3 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@ export default async (job: Bull.Job<WebhookDeliverJobData>) => {
},
body: JSON.stringify({
hookId: job.data.webhookId,
userId: job.data.userId,
eventId: job.data.eventId,
createdAt: job.data.createdAt,
type: job.data.type,