From e83c468fba5ca285bb90dcc27f984350d4fe507f Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sun, 7 Jun 2020 21:06:41 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/BotDatabase.cs | 4 ++-- ArchiSteamFarm/GlobalDatabase.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/BotDatabase.cs b/ArchiSteamFarm/BotDatabase.cs index 7291effe8..5ac96d8c7 100644 --- a/ArchiSteamFarm/BotDatabase.cs +++ b/ArchiSteamFarm/BotDatabase.cs @@ -84,10 +84,10 @@ namespace ArchiSteamFarm { } } - [JsonProperty(PropertyName = "_LoginKey")] + [JsonProperty(PropertyName = "_" + nameof(LoginKey))] private string BackingLoginKey; - [JsonProperty(PropertyName = "_MobileAuthenticator")] + [JsonProperty(PropertyName = "_" + nameof(MobileAuthenticator))] private MobileAuthenticator BackingMobileAuthenticator; private BotDatabase([NotNull] string filePath) { diff --git a/ArchiSteamFarm/GlobalDatabase.cs b/ArchiSteamFarm/GlobalDatabase.cs index a111ba103..25c76a966 100644 --- a/ArchiSteamFarm/GlobalDatabase.cs +++ b/ArchiSteamFarm/GlobalDatabase.cs @@ -63,7 +63,7 @@ namespace ArchiSteamFarm { } } - [JsonProperty(PropertyName = "_CellID", Required = Required.DisallowNull)] + [JsonProperty(PropertyName = "_" + nameof(CellID), Required = Required.DisallowNull)] private uint BackingCellID; private GlobalDatabase([NotNull] string filePath) : this() {