Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
VibeNL committed Oct 11, 2023
1 parent 42162f0 commit f4e9242
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions GhostfolioSidekick/ConfigurationSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public class ConfigurationSettings : IConfigurationSettings
{
public string? FileImporterPath => Environment.GetEnvironmentVariable("FileImporterPath");
public string FileImporterPath => Environment.GetEnvironmentVariable("FileImporterPath");

Check warning on line 5 in GhostfolioSidekick/ConfigurationSettings.cs

View workflow job for this annotation

GitHub Actions / build

Possible null reference return.

public string GhostfolioAccessToken => Environment.GetEnvironmentVariable("GHOSTFOLIO_ACCESTOKEN");

Check warning on line 7 in GhostfolioSidekick/ConfigurationSettings.cs

View workflow job for this annotation

GitHub Actions / build

Possible null reference return.

Expand All @@ -20,6 +20,6 @@ public string GhostfolioUrl
}
}

private readonly string? ghostfolioUrl = Environment.GetEnvironmentVariable("GHOSTFOLIO_URL");
private readonly string ghostfolioUrl = Environment.GetEnvironmentVariable("GHOSTFOLIO_URL");

Check warning on line 23 in GhostfolioSidekick/ConfigurationSettings.cs

View workflow job for this annotation

GitHub Actions / build

Possible null reference assignment.
}
}
1 change: 0 additions & 1 deletion GhostfolioSidekick/Ghostfolio/API/GhostfolioAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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! )

Expand Down

0 comments on commit f4e9242

Please sign in to comment.