Add temp jsonpath options during v3 => v4 migration prep
This commit is contained in:
parent
e0406378cb
commit
8a54eda4a0
@ -14,20 +14,15 @@ namespace InternalUtilities
|
|||||||
|
|
||||||
public static string AccountsSettingsFile => Path.Combine(Configuration.Instance.LibationFiles, "AccountsSettings.json");
|
public static string AccountsSettingsFile => Path.Combine(Configuration.Instance.LibationFiles, "AccountsSettings.json");
|
||||||
|
|
||||||
public static string GetJsonPath(
|
// TEMP
|
||||||
//string username
|
public static string GetJsonPath() => null;
|
||||||
////, string locale
|
|
||||||
)
|
public static string GetJsonPath(string username, string locale)
|
||||||
{
|
{
|
||||||
return null;
|
var usernameSanitized = JsonConvert.ToString(username);
|
||||||
|
var localeSanitized = JsonConvert.ToString(locale);
|
||||||
|
|
||||||
|
return $"$.AccountsSettings[?(@.Username == '{usernameSanitized}' && @.IdentityTokens.Locale == '{localeSanitized}')].IdentityTokens";
|
||||||
//var usernameSanitized = JsonConvert.ToString(username);
|
|
||||||
|
|
||||||
////var localeSanitized = JsonConvert.ToString(locale);
|
|
||||||
////return $"$.AccountsSettings[?(@.Username == '{usernameSanitized}' && @.IdentityTokens.Locale == '{localeSanitized}')].IdentityTokens";
|
|
||||||
|
|
||||||
//return $"$.AccountsSettings[?(@.Username == '{usernameSanitized}')].IdentityTokens";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
|
||||||
<Version>3.1.12.86</Version>
|
<Version>3.1.12.88</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user