diff options
| author | Adam Soltys <[email protected]> | 2022-10-18 23:04:39 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-18 23:04:39 -0700 |
| commit | a04d07cfbdc2f04eb1d47bc1464d5a3dbb7956c3 (patch) | |
| tree | c7da404f489780a9a631af05fbbe9e3e234e0127 /src/routes/launch/purchase/card | |
| parent | 4e03d33c6c28baccd2b052e7c4bf2620cf68a7ee (diff) | |
| download | coinos-ui-a04d07cfbdc2f04eb1d47bc1464d5a3dbb7956c3.tar.gz coinos-ui-a04d07cfbdc2f04eb1d47bc1464d5a3dbb7956c3.zip | |
prettier
Diffstat (limited to 'src/routes/launch/purchase/card')
| -rw-r--r-- | src/routes/launch/purchase/card/+page.server.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/launch/purchase/card/+page.server.js b/src/routes/launch/purchase/card/+page.server.js index 34a2a8e1..1f564f78 100644 --- a/src/routes/launch/purchase/card/+page.server.js +++ b/src/routes/launch/purchase/card/+page.server.js @@ -1,7 +1,7 @@ import { env } from '$env/dynamic/private'; import { error, redirect } from '@sveltejs/kit'; import { post, auth } from '$lib/utils'; -import { createTicket } from "$lib/ticket"; +import { createTicket } from '$lib/ticket'; let stripe = 'https://api.stripe.com/v1'; @@ -37,7 +37,7 @@ export const actions = { ); if (status !== 'succeeded') throw error(500, { message: 'Card payment failed' }); - let asset = await createTicket(cookies, form.get('username')); + let asset = await createTicket(cookies, form.get('username')); throw redirect(307, `/launch/thanks/${asset}`); } |
