Skip to content

Commit

Permalink
Minor fix with plan IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
emmdim committed Nov 22, 2024
1 parent 9db7091 commit 7dc894f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/plans.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"ID": 1,
"ID": 0,
"Name": "Essential Annual Plan",
"StripeID": "price_1QBEmzDW6VLep8WGpkwjynXV",
"StartingPrice": 9900,
Expand All @@ -22,7 +22,7 @@
}
},
{
"ID": 2,
"ID": 1,
"Name": "Premium Annual Plan",
"StripeID": "price_1Q8iyUDW6VLep8WGWXdjC78r",
"StartingPrice": 30000,
Expand All @@ -44,7 +44,7 @@
}
},
{
"ID": 3,
"ID": 2,
"Name": "Free Plan",
"StripeID": "price_1QMtoJDW6VLep8WGC2vsJ2CV",
"StartingPrice": 0,
Expand Down
1 change: 1 addition & 0 deletions db/organizations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ func TestAddOrganizationPlan(t *testing.T) {
active := true
stripeID := "stripeID"
orgSubscription := &OrganizationSubscription{
PlanID: 100,
StartDate: startDate,
EndDate: endDate,
Active: true,
Expand Down

0 comments on commit 7dc894f

Please sign in to comment.