diff --git a/models/attachment.go b/models/attachment.go index 6ab1f3652..c322d391b 100755 --- a/models/attachment.go +++ b/models/attachment.go @@ -97,7 +97,7 @@ func (a *Attachment) DownloadURL() string { return fmt.Sprintf("%sattachments/%s?type=%d", setting.AppURL, a.UUID, a.Type) } -// DownloadURL returns the download url of the attached file +// S3DownloadURL returns the s3 download url of the attached file func (a *Attachment) S3DownloadURL() string { url := "" if a.Type == TypeCloudBrainOne {