From 90f4b04857d485d3f7d6eb60600254bbf53a7d16 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Thu, 13 Jul 2023 21:36:19 +0200 Subject: [PATCH] Changed configuration file --- Moonlight/App/Configuration/ConfigV1.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Moonlight/App/Configuration/ConfigV1.cs b/Moonlight/App/Configuration/ConfigV1.cs index 2935e884..2bf6bed1 100644 --- a/Moonlight/App/Configuration/ConfigV1.cs +++ b/Moonlight/App/Configuration/ConfigV1.cs @@ -38,9 +38,7 @@ public class ConfigV1 [JsonProperty("Mail")] public MailData Mail { get; set; } = new(); [JsonProperty("Cleanup")] public CleanupData Cleanup { get; set; } = new(); - - [JsonProperty("Subscriptions")] public SubscriptionsData Subscriptions { get; set; } = new(); - + [JsonProperty("DiscordNotifications")] public DiscordNotificationsData DiscordNotifications { get; set; } = new(); [JsonProperty("Statistics")] public StatisticsData Statistics { get; set; } = new(); @@ -56,7 +54,9 @@ public class ConfigV1 public class StripeData { - [JsonProperty("ApiKey")] public string ApiKey { get; set; } = ""; + [JsonProperty("ApiKey")] + [Description("Put here your stripe api key if you add subscriptions. Currently the only billing option is stripe which is enabled by default and cannot be turned off. This feature is still experimental")] + public string ApiKey { get; set; } = ""; } public class AuthData @@ -325,11 +325,6 @@ public class ConfigV1 [JsonProperty("Wait")] public long Wait { get; set; } = 15; } - public class SubscriptionsData - { - [JsonProperty("SellPass")] public SellPassData SellPass { get; set; } = new(); - } - public class SellPassData { [JsonProperty("Enable")] public bool Enable { get; set; } = false;