Refactor database schema and improve code readability
Significantly simplified the syntax of SQL scripts for managing privileges to improve readability. Improved the structure and format of the code by making spacing and indentation consistent. Also made minor changes to the creation and configuration of enums and table schemas.
This commit is contained in:
@@ -29,7 +29,7 @@ const LazyEmbeddedCheckout = dynamic(
|
||||
},
|
||||
);
|
||||
|
||||
async function ReturnStripeSessionPage({ searchParams }: SessionPageProps) {
|
||||
async function ReturnCheckoutSessionPage({ searchParams }: SessionPageProps) {
|
||||
const { customerEmail, checkoutToken } = await loadCheckoutSession(
|
||||
searchParams.session_id,
|
||||
);
|
||||
@@ -62,7 +62,7 @@ async function ReturnStripeSessionPage({ searchParams }: SessionPageProps) {
|
||||
);
|
||||
}
|
||||
|
||||
export default withI18n(ReturnStripeSessionPage);
|
||||
export default withI18n(ReturnCheckoutSessionPage);
|
||||
|
||||
export async function loadCheckoutSession(sessionId: string) {
|
||||
const client = getSupabaseServerComponentClient();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user