Skip to content

Commit

Permalink
fix stripe webhook issue (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincelwt authored Jun 5, 2024
1 parent 8c05a52 commit 9cbaa18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/api/webhooks/stripe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const updateSubscription = async (object: Stripe.Subscription) => {
object

const plan = metadata.plan || "team"
const period = metadata.period
const period = metadata.period || "monthly"
const canceled = cancel_at_period_end

const [currentOrg] = await sql`
Expand Down

0 comments on commit 9cbaa18

Please sign in to comment.