Skip to content

Commit

Permalink
hotfix: fix the subscription plan when subscribe on cloud (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia authored Apr 24, 2024
1 parent 571a332 commit 1372a1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class LemonSqueezyWebhooks {
const variantId = attributes.variant_id as string;

// We assume that the Plan table is up to date.
const plan = await Plan.query().findOne('slug', 'essentials-yearly');
const plan = await Plan.query().findOne('slug', 'early-adaptor');

if (!plan) {
throw new Error(`Plan with variantId ${variantId} not found.`);
Expand Down

0 comments on commit 1372a1f

Please sign in to comment.