Skip to content

Commit e161616

Browse files
committed
Basic to Core
1 parent 6560538 commit e161616

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

api/v1/subscription/subscription.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ func createSubscriptionAndroid(c *gin.Context) {
291291

292292
switch receipt.ProductID {
293293
case "basic_monthly":
294-
name = "Basic Service (monthly)"
294+
name = "Core Service (monthly)"
295295
case "basic_yearly":
296-
name = "Basic Service (yearly)"
296+
name = "Core Service (yearly)"
297297
case "premium_monthly":
298298
name = "Premium Service (monthly)"
299299
case "premium_yearly":
@@ -959,11 +959,11 @@ func handleAppleWebhook(c *gin.Context) {
959959
subscription.Sku = transaction["productId"].(string)
960960
switch subscription.Sku {
961961
case "basic_monthly":
962-
subscription.Name = "Basic Service (monthly)"
962+
subscription.Name = "Core Service (monthly)"
963963
subscription.Description = "A single tunnel or relay in any region"
964964
subscription.Credits = 1
965965
case "basic_yearly":
966-
subscription.Name = "Basic Service (yearly)"
966+
subscription.Name = "Core Service (yearly)"
967967
subscription.Description = "A single tunnel or relay in any region"
968968
subscription.Credits = 1
969969
case "premium_monthly":
@@ -1313,9 +1313,9 @@ func createSubscriptionApple(c *gin.Context) {
13131313

13141314
switch receipt.ProductID {
13151315
case "basic_monthly":
1316-
name = "Basic Service (monthly)"
1316+
name = "Core Service (monthly)"
13171317
case "basic_yearly":
1318-
name = "Basic Service (yearly)"
1318+
name = "Core Service (yearly)"
13191319
expires = time.Now().AddDate(1, 0, 0)
13201320
case "premium_monthly":
13211321
name = "Premium Service (monthly)"

0 commit comments

Comments
 (0)