Skip to content

Commit

Permalink
remove the middleware verify auth for generate ia (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay committed Feb 12, 2024
2 parents 2a56829 + 16ac7f5 commit c897ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/campaign.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,6 @@ router.get('/statistics', campaignsStatistics)
*/
router.delete('/deleteDraft/:id', verifyAuth, idCheckValidation, deleteDraft)

router.post('/generate-brief', verifyAuth, titleCheckValidation, generateBrief)
router.post('/generate-brief', titleCheckValidation, generateBrief)

module.exports = router

0 comments on commit c897ba6

Please sign in to comment.