fix (#16632)
This commit is contained in:
1 parent
584f9c6e93
commit
689e17bcf6
3 files changed
+5
-5
No files matched your search
@@ -4,7 +4,7 @@ import {
|
||||
type TStripeCheckoutSessionInputSchema,
|
||||
} from "@calcom/trpc/server/routers/publicViewer/stripeCheckoutSession.schema";
|
||||
|
||||
export class StripeRepository {
|
||||
export class StripeService {
|
||||
static async getCheckoutSession(input: TStripeCheckoutSessionInputSchema) {
|
||||
const { checkoutSessionId, stripeCustomerId } = input;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { StripeRepository } from "@calcom/lib/server/repository/stripe";
|
||||
import { StripeService } from "@calcom/lib/server/service/stripe";
|
||||
|
||||
import type { TStripeCheckoutSessionInputSchema } from "./stripeCheckoutSession.schema";
|
||||
|
||||
@@ -7,7 +7,7 @@ type StripeCheckoutSessionOptions = {
|
||||
};
|
||||
|
||||
export const stripeCheckoutSessionHandler = async ({ input }: StripeCheckoutSessionOptions) => {
|
||||
return await StripeRepository.getCheckoutSession(input);
|
||||
return await StripeService.getCheckoutSession(input);
|
||||
};
|
||||
|
||||
export default stripeCheckoutSessionHandler;
|
||||
Reference in new issue
Block a user