We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb7a8a8 + 82a7746 commit 66f955cCopy full SHA for 66f955c
contentcuration/contentcuration/frontend/shared/data/resources.js
@@ -1934,7 +1934,7 @@ export const Invitation = new Resource({
1934
1935
accept(id) {
1936
const changes = { accepted: true };
1937
- return client.patch(window.Urls.invitationDetail(id), changes).then(() => {
+ return client.post(window.Urls.invitationAccept(id), changes).then(() => {
1938
return this.transaction({ mode: 'rw' }, () => {
1939
return this.table.update(id, changes);
1940
});
0 commit comments