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

@@ -56,12 +56,15 @@ api.getCoupons = {
* @apiGroup Coupon
* @apiPermission sudo
*
* @apiParam (Path) {String=wondercon,google_6mo} event The event for which the coupon should be generated
* @apiParam (Path) {String=wondercon,google_6mo} event The event for which the coupon
* should be generated
* @apiParam (Query) {Number} count The number of coupon codes to generate
*
* @apiSuccess {Array} data Generated coupons
*
* @apiError (400) {BadRequest} CouponValidationError The request was missing the count query parameter or used an invalid event.
* @apiError (400) {BadRequest} CouponValidationError The request was missing the
* count query parameter or used
* an invalid event.
*
*/
api.generateCoupons = {