From 063df74b14413b65ca6e8530d7fb2f790a759a9a Mon Sep 17 00:00:00 2001 From: philc Date: Mon, 15 Apr 2024 09:32:18 +0200 Subject: [PATCH] modif doc --- routes/pagans.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) => {