changed to .json file instead of database for settings
This commit is contained in:
@@ -94,6 +94,7 @@ public static class Functions
|
||||
/// <returns></returns>
|
||||
public static async Task<T> ConvertFromJson<T>(string input)
|
||||
{
|
||||
Console.WriteLine(input);
|
||||
Stream text;
|
||||
if (File.Exists(input))
|
||||
text = new MemoryStream(await File.ReadAllBytesAsync(input));
|
||||
|
||||
Reference in New Issue
Block a user