Skip to content

Commit

Permalink
fix: removed conflict text, added doc for opt
Browse files Browse the repository at this point in the history
  • Loading branch information
slaveeks committed Jun 29, 2024
1 parent 4582d2a commit 6b2b281
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/presentation/http/router/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ interface UploadRouterOptions {
*/
noteService: NoteService;

/**
* Note settings service instance
*/
noteSettingsService: NoteSettingsService;

/**
Expand Down Expand Up @@ -100,15 +103,11 @@ const UploadRouter: FastifyPluginCallback<UploadRouterOptions> = async (fastify,
},
},
attachValidation: true,
<<<<<<< HEAD
preHandler:[
noteResolver,
noteSettingsResolver,
memberRoleResolver,
],
=======
preHandler: [noteResolver],
>>>>>>> 9615a41936a09f160c2b27571457d4c3dd7f2afa
}, async (request, reply) => {
/**
* @todo solve trouble with crashing app, when validations is not passed
Expand Down

0 comments on commit 6b2b281

Please sign in to comment.