From 647f9a8f7bb8f63bc048785af3515413ce85035b Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sun, 1 Sep 2024 07:30:42 -0600 Subject: [PATCH] fix waitgroup instantiation --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 03ed69f..d033f41 100644 --- a/main.go +++ b/main.go @@ -86,7 +86,7 @@ func refreshData() { } lastRefresh = time.Now() - var wg *sync.WaitGroup + wg := sync.WaitGroup{} // Loop through each configured account provider and attempt to get the account balances, and update YNAB for _, p := range configuredProviders {