mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
finish linting server
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
* */
|
||||
|
||||
Reference in New Issue
Block a user