mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
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:
@@ -183,6 +183,7 @@ export const questActivityWebhook = new WebhookSender({
|
||||
},
|
||||
quest: {
|
||||
key: quest.key,
|
||||
questOwner: group.quest.leader,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user