From 6bb244c395b788d0195eae348d9df34ebd6eff02 Mon Sep 17 00:00:00 2001 From: anshuman Date: Wed, 11 Oct 2023 13:30:09 +0530 Subject: [PATCH] fix: create pathmedia as well on init --- 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) }