fix: typo in "file too big" error message (#6577)

Co-authored-by: Fabi <[email protected]>
This commit is contained in:
wackbyte
2023-09-18 13:08:32 +00:00
committed by GitHub
co-authored by Fabi
parent 3465264eef
commit 4bebcd6c0f
+1 -1
View File
@@ -146,7 +146,7 @@ func UploadHandleFunc(s AssetsService, uploader Uploader) func(http.ResponseWrit
return
}
if size > uploader.MaxFileSize() {
s.ErrorHandler()(w, r, fmt.Errorf("file to big, max file size is %vKB", uploader.MaxFileSize()/1024), http.StatusBadRequest)
s.ErrorHandler()(w, r, fmt.Errorf("file too big, max file size is %vKB", uploader.MaxFileSize()/1024), http.StatusBadRequest)
return
}