Skip to content

Commit 189c799

Browse files
committed
Lint
1 parent 68dd2b1 commit 189c799

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/billing/cloudpayments.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ export default class CloudPaymentsWebhooks {
267267
let member: ConfirmedMemberDBScheme;
268268
let plan: PlanDBScheme;
269269

270-
271270
if (!data.userId || !data.workspaceId || !data.tariffPlanId) {
272271
this.sendError(res, CheckCodes.PAYMENT_COULD_NOT_BE_ACCEPTED, '[Billing / Check] There is no necessary data in the request', body);
273272

@@ -364,7 +363,7 @@ export default class CloudPaymentsWebhooks {
364363

365364
if (data.isCardLinkOperation && (!data.userId || !data.workspaceId)) {
366365
this.sendError(res, PayCodes.SUCCESS, '[Billing / Pay] No workspace or user id in request body', req.body);
367-
366+
368367
return;
369368
}
370369

@@ -385,7 +384,6 @@ export default class CloudPaymentsWebhooks {
385384
workspace = await this.getWorkspace(req, data.workspaceId);
386385
user = await this.getUser(req, data.userId);
387386
planId = data.isCardLinkOperation ? workspace.tariffPlanId.toString() : data.tariffPlanId;
388-
389387

390388
tariffPlan = await this.getPlan(req, planId);
391389
} catch (e) {

0 commit comments

Comments
 (0)