Fix file path for bot download
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-25 20:08:36 -08:00
parent 128aaf4c06
commit 04cfcc9ddc

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, botData.FileID)
fullURL, err := url.JoinPath(h.storageUrl, "/v1/file/", botData.FileID)
if err != nil {
statusCode := http.StatusInternalServerError
errorMessage := "Error joining Url"