fix: ext
This commit is contained in:
@@ -218,7 +218,7 @@ func (t *TClient) getExtByFilenameAndMimeType(filename, mimeType string) string
|
|||||||
ext = exts[len(exts)-1]
|
ext = exts[len(exts)-1]
|
||||||
}
|
}
|
||||||
|
|
||||||
return ext
|
return strings.ToLower(ext)
|
||||||
}
|
}
|
||||||
|
|
||||||
// saveDocument
|
// saveDocument
|
||||||
|
|||||||
Reference in New Issue
Block a user