From 99ba1b464e549fb283b99d5d38307cb59f3a7ee8 Mon Sep 17 00:00:00 2001 From: Anshuman Mishra Date: Thu, 26 Oct 2023 07:01:57 +0530 Subject: [PATCH] fix: create pathmedia as well on init (#96) --- src/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/root.go b/src/cmd/root.go index 2cc7055..2f12f4e 100644 --- a/src/cmd/root.go +++ b/src/cmd/root.go @@ -49,7 +49,7 @@ func runRest(_ *cobra.Command, _ []string) { // TODO: Init Rest App //preparing folder if not exist - err := utils.CreateFolder(config.PathQrCode, config.PathSendItems, config.PathStorages) + err := utils.CreateFolder(config.PathQrCode, config.PathSendItems, config.PathStorages, config.PathMedia) if err != nil { log.Fatalln(err) }