updated urls to subscription

This commit is contained in:
Brord van Wierst 2024-10-08 15:13:31 +02:00 committed by ggurdin
parent 14475a9d64
commit e55a7c453d
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -10,13 +10,13 @@ import 'package:fluffychat/pangea/config/environment.dart';
/// https://api.staging.pangea.chat/api/v1/
class PApiUrls {
static String choreoPrefix = "/choreo";
static String revenuePrefix = "/revenue";
static String subscriptionPrefix = "/subscription";
static String accountPrefix = "/account";
static String choreoEndpoint =
"${Environment.choreoApi}${PApiUrls.choreoPrefix}";
static String revenueEndpoint =
"${Environment.choreoApi}${PApiUrls.revenuePrefix}";
static String subscriptionEndpoint =
"${Environment.choreoApi}${PApiUrls.subscriptionPrefix}";
static String accountEndpoint =
"${Environment.choreoApi}${PApiUrls.accountPrefix}";
@ -65,9 +65,9 @@ class PApiUrls {
static String rcApiV1 = "https://api.revenuecat.com/v1";
static String rcAppsChoreo = "${PApiUrls.revenueEndpoint}/app_ids";
static String rcAppsChoreo = "${PApiUrls.subscriptionEndpoint}/app_ids";
static String rcProductsChoreo =
"${PApiUrls.revenueEndpoint}/all_products";
"${PApiUrls.subscriptionEndpoint}/all_products";
static String rcSubscription = "$rcApiV1/subscribers";
}