diff --git a/GhostfolioSidekick/ConfigurationSettings.cs b/GhostfolioSidekick/ConfigurationSettings.cs index 0441777f..0c035994 100644 --- a/GhostfolioSidekick/ConfigurationSettings.cs +++ b/GhostfolioSidekick/ConfigurationSettings.cs @@ -2,7 +2,7 @@ { public class ConfigurationSettings : IConfigurationSettings { - public string? FileImporterPath => Environment.GetEnvironmentVariable("FileImporterPath"); + public string FileImporterPath => Environment.GetEnvironmentVariable("FileImporterPath"); public string GhostfolioAccessToken => Environment.GetEnvironmentVariable("GHOSTFOLIO_ACCESTOKEN"); @@ -20,6 +20,6 @@ public string GhostfolioUrl } } - private readonly string? ghostfolioUrl = Environment.GetEnvironmentVariable("GHOSTFOLIO_URL"); + private readonly string ghostfolioUrl = Environment.GetEnvironmentVariable("GHOSTFOLIO_URL"); } } diff --git a/GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs b/GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs index 9e77c584..26ea1bf5 100644 --- a/GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs +++ b/GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs @@ -63,7 +63,6 @@ public GhostfolioAPI( public async Task UpdateAccount(Model.Account account) { var existingAccount = await GetAccountByName(account.Name); - // TODO update account! var balance = GetBalance(account.Balance); diff --git a/README.md b/README.md index ffe207c6..44c91346 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # GhostfolioSidekick -A continuous running Docker container (A sidecar) to automatically import files from several brokers & crypto exchanges. The program checks every hour if any new transactions are found and inserts them in [ghostfolio](https://github.com/ghostfolio/ghostfolio). It can also correct & remove transactions in case they have changed (for example a different exchange rate) or the source file was deleted. +A continuous running Docker container (a sidecar) to automatically import files from several brokers & crypto exchanges. The program checks every hour if any new transactions are found and inserts them in [ghostfolio](https://github.com/ghostfolio/ghostfolio). It can also correct & remove transactions in case they have changed (for example a different exchange rate) or the source file was deleted. ( more to come? Help is always welcome! )