mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-14 19:43:55 +00:00
fix(*): Fix merge
This commit is contained in:
@@ -2,7 +2,7 @@ import { redirect } from '@sveltejs/kit';
|
|||||||
import Stripe from 'stripe';
|
import Stripe from 'stripe';
|
||||||
import { getProductById } from '$lib/utils/supabase/admin';
|
import { getProductById } from '$lib/utils/supabase/admin';
|
||||||
|
|
||||||
export const load: PageLoad = async ({ fetch }) => {
|
export const load = async ({ fetch }) => {
|
||||||
const response = await fetch('/api/checkout/status');
|
const response = await fetch('/api/checkout/status');
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
console.error('Failed to fetch checkout status');
|
console.error('Failed to fetch checkout status');
|
||||||
|
|||||||
Reference in New Issue
Block a user