Skip to content

Commit

Permalink
fix(EDD-37): adding team
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed Mar 29, 2024
1 parent 2006fc4 commit f09ce76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routers/Team.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const TeamRouter: FastifyPluginAsync = async server => {
server.route({
method: 'POST',
url: '/add',
preHandler: [RequireUser, RequireTeamOwner],
preHandler: RequireUser,
handler: PostAddTeamHandler,
schema: {
body: AddTeamSchema
Expand Down

0 comments on commit f09ce76

Please sign in to comment.