Add 'questOwner' to the return data of a 'questActivity' webhook. (#13277)

* Update webhook.js

Add `questOwner: group.quest.leader,` to webhook.js

* Update POST-groups_groupId_quests_invite.test.js

Test if questOwner contains the correct data

* Update POST-groups_groupId_quests_invite.test.js

* Update webhooks.test.js
This commit is contained in:
PitiTheGrey
2021-05-28 23:59:14 +02:00
committed by GitHub
parent 9e655d70d2
commit 1037510c9d
3 changed files with 4 additions and 0 deletions

View File

@@ -183,6 +183,7 @@ export const questActivityWebhook = new WebhookSender({
},
quest: {
key: quest.key,
questOwner: group.quest.leader,
},
};