From 413bd9a95d008dc0847fd56f82356fcbcdb9ca19 Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Thu, 10 Apr 2025 22:30:06 +0300 Subject: [PATCH] chore: lint --- packages/stripe/src/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/stripe/src/index.ts b/packages/stripe/src/index.ts index 27a29dbb08..054f9ffccf 100644 --- a/packages/stripe/src/index.ts +++ b/packages/stripe/src/index.ts @@ -68,9 +68,12 @@ export const stripe = (options: O) => { ctx.body?.referenceId || ctx.query?.referenceId || session.user.id; if (ctx.body?.referenceId && !options.subscription?.authorizeReference) { - logger.error(`Passing referenceId into a subscription action isn't allowed if subscription.authorizeReference isn't defined in your stripe plugin config.`) + logger.error( + `Passing referenceId into a subscription action isn't allowed if subscription.authorizeReference isn't defined in your stripe plugin config.`, + ); throw new APIError("BAD_REQUEST", { - message: "Reference id is not allowed. Read server logs for more details.", + message: + "Reference id is not allowed. Read server logs for more details.", }); } const isAuthorized = ctx.body?.referenceId