feat(gatekeeper): lower checkout session expiry (#3626)

This commit is contained in:
Gergő Jedlicska
2024-12-04 11:52:33 +01:00
committed by GitHub
parent cdf9c4858a
commit 2ba2ef28dc
@@ -95,7 +95,8 @@ export const startCheckoutSessionFactory =
throw new WorkspaceAlreadyPaidError()
if (
new Date().getTime() - workspaceCheckoutSession.createdAt.getTime() >
10 * 60 * 1000
1000
// 10 * 60 * 1000
) {
await deleteCheckoutSession({
checkoutSessionId: workspaceCheckoutSession.id