Skip to content

Commit

Permalink
update user patch hook
Browse files Browse the repository at this point in the history
  • Loading branch information
dead8309 committed Jan 25, 2024
1 parent 0447cb4 commit 0d63807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/users/users.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
SetDefaultItem('role', STUDENT),
],
update: [disallow()],
patch: [authenticate('firebase'), SetCreatedByQuery()],
patch: [authenticate('firebase')],
remove: [authenticate('firebase'), SetCreatedByQuery()],
},

Expand Down

0 comments on commit 0d63807

Please sign in to comment.