Skip to content

Commit

Permalink
wip add auth middleware (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay committed Mar 13, 2024
2 parents 93bf5ab + 9040748 commit f789d47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions routes/external.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ router.post(

router.post('/apply', verifyAuthExternal, externalApply)

router.post('/checkHarvest', verifySignatureMiddleware, checkHarvest)
router.post('/checkHarvest', verifyAuthExternal, checkHarvest)

router.post('/externalAnswer', verifySignatureMiddleware, externalAnswer)
router.post('/externalGains', verifySignatureMiddleware, externalGains)
router.post('/externalAnswer', verifyAuthExternal, externalAnswer)
router.post('/externalGains', verifyAuthExternal, externalGains)

module.exports = router

0 comments on commit f789d47

Please sign in to comment.