mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-29 18:48:27 +00:00
fix: typo in "file too big" error message (#6577)
Co-authored-by: Fabi <fabienne@zitadel.com>
This commit is contained in:
parent
3465264eef
commit
4bebcd6c0f
@ -146,7 +146,7 @@ func UploadHandleFunc(s AssetsService, uploader Uploader) func(http.ResponseWrit
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if size > uploader.MaxFileSize() {
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user