Add questInvited option to webhook model

This commit is contained in:
Carl Vuorinen
2020-01-10 20:01:15 +02:00
parent 10ed4ea712
commit e6edaca11d
3 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -43,6 +43,7 @@ describe('webhooks', () => {
options: {
questStarted: true,
questFinised: true,
questInvited: true,
},
}, {
id: 'userActivity',
@@ -576,7 +577,7 @@ describe('webhooks', () => {
};
});
['questStarted', 'questFinised'].forEach(type => {
['questStarted', 'questFinised', 'questInvited'].forEach(type => {
it(`sends ${type} webhooks`, () => {
data.type = type;