Change upload response
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2022-01-24 19:15:43 +01:00
parent b559d28a38
commit 46401c1b98
6 changed files with 25 additions and 24 deletions

View File

@@ -34,7 +34,7 @@ func ActionUpload(c *cli.Context) error {
errmsg := fmt.Sprintf("Error uploading file: %s", err)
return cli.Exit(errmsg, 1)
}
fmt.Printf("Uploaded file %s - %s", file.OriginalFilename, resp[0].URL)
fmt.Printf("Uploaded file %s - %s", file.OriginalFilename, resp.Files[0].URL)
}
return nil
}