Skip to content

Commit

Permalink
update index update challenge controller to pass through userChalleng…
Browse files Browse the repository at this point in the history
…e id

Relates #33 #34 #35
  • Loading branch information
haydnba committed May 18, 2018
1 parent 5e4b2f6 commit d58e1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ router.get('/report', report.get);
router.post('/signup', signup.post);
router.post('/login', login.post);
router.post('/user-challenge/:id', userChallenge.post); // select a challenge
router.post('/update-challenge/:status/:id', updateChallenge.post); // update user-challenge
router.post('/update-challenge/:status/:usch', updateChallenge.post); // update user-challenge
router.post('/add-challenge', addChallenge.post);
router.post('/add-message', addMessage.post);
// router.post('/report', report.post);
Expand Down

0 comments on commit d58e1d0

Please sign in to comment.