Deploy Bots API #28

Merged
Quaternions merged 34 commits from staging into master 2026-02-28 02:33:43 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 485860ef52 - Show all commits

View File

@@ -404,7 +404,7 @@ func (h *TimesHandler) GetDownloadUrl(ctx *gin.Context) {
// fetch download url from storage service
// Build the full URL.
fullURL, err := url.JoinPath(h.storageUrl, "/v1/file/", botData.FileID)
fullURL, err := url.JoinPath(h.storageUrl, botData.FileID)
if err != nil {
statusCode := http.StatusInternalServerError
errorMessage := "Error joining Url"

View File

@@ -35,7 +35,7 @@ func NewApiCommand() *cli.Command {
Name: "storage-host",
Usage: "Host of storage",
EnvVars: []string{"STORAGE_HOST"},
Value: "http://storage-service:9000",
Value: "http://storage-service:9000/v1/file/",
},
},
}