finish linting server

This commit is contained in:
Matteo Pagliazzi
2019-10-11 13:03:05 +02:00
parent 5aa371bf90
commit e09a70570e
40 changed files with 681 additions and 256 deletions

View File

@@ -27,7 +27,8 @@ const api = {};
* @apiDefine DataExport Data Export
* These routes allow you to download backups of your data.
*
* **Note:** They are intented to be used on the website only and as such are part of the private API and may change at any time.
* **Note:** They are intented to be used on the website only and as such are part
* of the private API and may change at any time.
*/
/**

View File

@@ -12,7 +12,8 @@ const api = {};
* @apiDescription Does not require authentication
* @apiName UnsubscribeEmail
* @apiGroup Unsubscribe
* @apiDescription This is a GET method included in official emails from Habitica that will unsubscribe the user from emails.
* @apiDescription This is a GET method included in official emails from Habitica
* that will unsubscribe the user from emails.
*
* @apiParam (Query) {String} code An unsubscription code
*

View File

@@ -15,8 +15,10 @@ const api = {};
* @apiParam {String} id Body parameter - The token
* @apiParam {String} email Body parameter - the customer email
* @apiParam {String} gift Query parameter - stringified json object, gift
* @apiParam {String} sub Query parameter - subscription, possible values are: basic_earned, basic_3mo, basic_6mo, google_6mo, basic_12mo
* @apiParam {String} coupon Query parameter - coupon for the matching subscription, required only for certain subscriptions
* @apiParam {String} sub Query parameter - subscription, possible values are:
* basic_earned, basic_3mo, basic_6mo, google_6mo, basic_12mo
* @apiParam {String} coupon Query parameter - coupon for the matching subscription,
* required only for certain subscriptions
*
* @apiSuccess {Object} data Empty object
* */