diff --git a/contentcuration/contentcuration/frontend/shared/data/resources.js b/contentcuration/contentcuration/frontend/shared/data/resources.js index 1c684ee07a..dccc4bd0c4 100644 --- a/contentcuration/contentcuration/frontend/shared/data/resources.js +++ b/contentcuration/contentcuration/frontend/shared/data/resources.js @@ -1895,7 +1895,7 @@ export const Invitation = new Resource({ accept(id) { const changes = { accepted: true }; - return client.patch(window.Urls.invitationDetail(id), changes).then(() => { + return client.post(window.Urls.invitationAccept(id), changes).then(() => { return this.transaction({ mode: 'rw' }, () => { return this.table.update(id, changes); });