From cb13c78d2b6fe9bb4c431f15ece52d68bfbbbed2 Mon Sep 17 00:00:00 2001 From: Yuli Date: Tue, 18 Feb 2020 21:18:33 +0200 Subject: [PATCH] fix code --- src/bunker_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bunker_test.go b/src/bunker_test.go index 8858191..7f28690 100644 --- a/src/bunker_test.go +++ b/src/bunker_test.go @@ -113,9 +113,10 @@ func init() { log.Fatalf("db init error %s", err.Error()) } db.initUserApps() - var cfg Config + var cfg2 Config cfile := "../databunker.yaml" - readFile(&cfg, &cfile) + readFile(&cfg2, &cfile) + var cfg Config cfg.Sms.TwilioToken = "ttoken" cfg.SelfService.AppRecordChange = []string{"testapp", "super"} cfg.SelfService.ConsentWithdraw = []string{"*email*"}