This commit is contained in:
2024-03-02 14:15:38 -07:00
parent 9be49cb871
commit 8466cee3c9

View File

@ -260,7 +260,7 @@ func initiateGeneratingAnimation(fileLocation string) (string, error) {
//filePart, err := writer.CreateFormFile("image", filename)
filePart, err := CreateImageFormFile(writer, filename)
if err != nil {
return "", fmt.Errorf("error creating form file | %w", err)
return "", fmt.Errorf("error creating from file | %w", err)
}
// Copy the file content to the form file part