cloudinary: var naming convention - #8416

This commit is contained in:
yuval-cloudinary 2025-02-23 14:04:21 +02:00
parent dca0aedd95
commit ca0335b60d
1 changed files with 2 additions and 2 deletions

View File

@ -246,10 +246,10 @@ func (f *Fs) ToStandardPath(s string) string {
} }
// ToStandardName implementation of the api.CloudinaryEncoder // ToStandardName implementation of the api.CloudinaryEncoder
func (f *Fs) ToStandardName(s string, assetUrl string) string { func (f *Fs) ToStandardName(s string, assetURL string) string {
ext := "" ext := ""
if f.opt.AdjustMediaFilesExtensions { if f.opt.AdjustMediaFilesExtensions {
parsedURL, err := url.Parse(assetUrl) parsedURL, err := url.Parse(assetURL)
if err != nil { if err != nil {
fs.Logf(nil, "Error parsing URL: %v", err) fs.Logf(nil, "Error parsing URL: %v", err)
} else { } else {