Skip to content

Commit

Permalink
Change policy for deleting note
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenJaden committed Feb 23, 2024
1 parent ca0d156 commit 67dd50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presentation/http/router/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const NoteRouter: FastifyPluginCallback<NoteRouterOptions> = (fastify, opts, don
config: {
policy: [
'authRequired',
'userIsCreator',
'userCanEdit',
],
},
preHandler: [
Expand Down

0 comments on commit 67dd50d

Please sign in to comment.