Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiorowski committed Sep 12, 2024
1 parent 05833cc commit fed424b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/routes/(app)/billing/+page.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function load({ locals }) {
export const actions = {
createStripeCheckout: async ({ locals }) => {
const end = perf("create_stripe_checkout");
const metadata = createMetadata(locals.token);
const metadata = createMetadata(locals.user.id);

/** @type {import("$lib/server/safe").Safe<import("$lib/proto/proto/StripeUrlResponse").StripeUrlResponse__Output>} */
const s = await new Promise((r) =>
Expand All @@ -30,7 +30,7 @@ export const actions = {
},
createStripePortal: async ({ locals }) => {
const end = perf("create_stripe_portal");
const metadata = createMetadata(locals.token);
const metadata = createMetadata(locals.user.id);

/** @type {import("$lib/server/safe").Safe<import("$lib/proto/proto/StripeUrlResponse").StripeUrlResponse__Output>} */
const s = await new Promise((r) =>
Expand Down

0 comments on commit fed424b

Please sign in to comment.