From c66937fdba30d42371bd75d4c15aea5759877f80 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Mon, 16 Sep 2024 14:22:43 +0200 Subject: [PATCH] bugfix: using configs filename on read --- util/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/config.go b/util/config.go index 1c2f3be..a29b506 100644 --- a/util/config.go +++ b/util/config.go @@ -7,7 +7,7 @@ import ( ) func ReadConfigs(name string) ([]*Config, error) { - file, err := os.Open("configs.json") + file, err := os.Open(name) if err != nil { return nil, err