mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +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:
@@ -656,9 +656,11 @@ describe('webhooks', () => {
|
||||
id: 'group-id',
|
||||
name: 'some group',
|
||||
otherData: 'foo',
|
||||
quest: {},
|
||||
},
|
||||
quest: {
|
||||
key: 'some-key',
|
||||
questOwner: 'user-id',
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user