Commit 365133cc by IcedTangerine Committed by GitHub

Fix error message formatting in relay_utils.go

parent 5ea40e1d
......@@ -258,7 +258,7 @@ func GetBase64sFromForm(c *gin.Context, fieldName string) ([]*Base64Data, error)
}
imageFiles, exists := mf.File[fieldName]
if !exists || len(imageFiles) == 0 {
return nil, errors.New("field " + fieldName + "\" is not found or empty")
return nil, errors.New("field " + fieldName + " is not found or empty")
}
var imageBase64s []*Base64Data
for _, file := range imageFiles {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment