Browse Source

fix: create pathmedia as well on init (#96)

pull/99/head
Anshuman Mishra 2 years ago
committed by GitHub
parent
commit
99ba1b464e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/cmd/root.go

2
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)
}

Loading…
Cancel
Save