diff --git a/routes/pagans.js b/routes/pagans.js index 53dea86..a57a349 100755 --- a/routes/pagans.js +++ b/routes/pagans.js @@ -300,11 +300,11 @@ router.put("/person/:tribe", checkHeaders, isAuthenticated, (req, res) => { * @apiSuccess {object} send recovery email * @apiSuccessExample {json} Success-Response: * HTTP/1.1 200 OK - * {"status":200, "ref":"Pagans", "msg":"recoveryemailsent", "data":{email,tribe,nbalias:'number of alias with this email', nbqent:'number of eamil sent must = nbalias'}} + * {"status":200, "ref":"Pagans", "msg":"recoveryemailsent", "data":{email,tribe,numberemailsent'}} * * @apiError (404) {string} emailnotfound email does not exist for this tribe * @apiErrorExample {json} - * {status: 404, ref:"pagans",msg:"emailnotfound",data: { tribe,email } } + * {status: 404, ref:"pagans",msg:"recoveryemailnotfound",data: { tribe,email } } * */ router.post("/keyrecovery", checkHeaders, (req, res) => {