From 09e8607b372d6bd7d2ae8885d32c63b153ca3a31 Mon Sep 17 00:00:00 2001 From: lash Date: Mon, 13 Jan 2025 08:00:19 +0000 Subject: [PATCH] Add resourcedir to menu storage service --- cmd/africastalking/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/africastalking/main.go b/cmd/africastalking/main.go index 500e34e..e8622ae 100644 --- a/cmd/africastalking/main.go +++ b/cmd/africastalking/main.go @@ -90,7 +90,7 @@ func main() { cfg.EngineDebug = true } - menuStorageService := storage.NewMenuStorageService(connData, "") + menuStorageService := storage.NewMenuStorageService(connData, resourceDir) rs, err := menuStorageService.GetResource(ctx) if err != nil { fmt.Fprintf(os.Stderr, "menustorageservice: %v\n", err)