chore(deps): update golangci-lint (#1833)

This commit is contained in:
Alessandro (Ale) Segala
2026-10-11 12:14:16 +02:00
committed by GitHub
parent 89827f076f
commit 7cc3a128c5
12 changed files with 34 additions and 22 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ func UnsupportedFileType(expected string) *Error {
}
func FileTooLarge(maxSize string) *Error {
return New(CodeFileTooLarge, http.StatusRequestEntityTooLarge, fmt.Sprintf("File must not exceed %s", maxSize)).WithDetail("max_size", maxSize)
return New(CodeFileTooLarge, http.StatusRequestEntityTooLarge, "File must not exceed "+maxSize).WithDetail("max_size", maxSize)
}
func NotSignedIn() *Error {
@@ -281,7 +281,7 @@ func LogoTypeNotSupported() *Error {
}
func LogoTooLarge(maxSize string) *Error {
return New(CodeLogoTooLarge, http.StatusUnprocessableEntity, fmt.Sprintf("Downloaded logo must not exceed %s", maxSize)).
return New(CodeLogoTooLarge, http.StatusUnprocessableEntity, "Downloaded logo must not exceed "+maxSize).
WithDetail("max_size", maxSize)
}