Skip to content

Commit

Permalink
Ensure Deserialize method works when config is encrypted.
Browse files Browse the repository at this point in the history
Fixes error connecting to repository database that occurs when:
You are running the GUI from the service installation folder. The config file is encrypted. You haven't modified the connections to create the ConnectionStrings.json file in the AppData folder. The error occurs even if you have password to decrypt config.
  • Loading branch information
DavidWiseman committed Jun 14, 2023
1 parent 7b6697a commit f22e4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DBADash/BasicConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public string Serialize(EncryptionOptions encryptionOption = EncryptionOptions.B

public static BasicConfig Deserialize(string json)
{
return JsonConvert.DeserializeObject<BasicConfig>(json);
return Deserialize<BasicConfig>(json);
}

/// <summary>
Expand Down

0 comments on commit f22e4c7

Please sign in to comment.