Fix upload image

This commit is contained in:
Charles Bochet
2023-07-18 15:46:30 -07:00
parent 10f7b08fdc
commit 87a116d369

View File

@ -95,7 +95,7 @@ export class FileUploadService {
paths.push(`${fileFolder}/${cropSizes[index]}/${name}`); paths.push(`${fileFolder}/${cropSizes[index]}/${name}`);
return this.uploadFile({ return this._uploadFile({
file: buffer, file: buffer,
filename: `${cropSizes[index]}/${name}`, filename: `${cropSizes[index]}/${name}`,
mimeType, mimeType,