Skip to content

Commit

Permalink
Merge pull request #4791 from rtibbles/going_into_administration
Browse files Browse the repository at this point in the history
Revert accidental change to update as admin method.
  • Loading branch information
bjester authored Nov 14, 2024
2 parents c874a46 + 5d25fac commit faa4274
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@ export const User = new Resource({
uuid: false,

updateAsAdmin(id, changes) {
return client.post(window.Urls.adminUsersAccept(id)).then(() => {
return client.patch(window.Urls.adminUsersDetail(id), changes).then(() => {
return this.transaction({ mode: 'rw' }, () => {
return this.table.update(id, changes);
});
Expand Down

0 comments on commit faa4274

Please sign in to comment.