fix: typo

This commit is contained in:
Methapon2001 2024-06-19 13:35:45 +07:00
parent 5a33c129c1
commit 886cae7f94

View file

@ -225,12 +225,12 @@ export class ProductController extends Controller {
}
return Object.assign(record, {
profileImageUrl: await presignedGetObjectIfExist(
imageUrl: await presignedGetObjectIfExist(
MINIO_BUCKET,
imageLocation(record.id),
12 * 60 * 60,
),
profileImageUploadUrl: await minio.presignedPutObject(
imageUploadUrl: await minio.presignedPutObject(
MINIO_BUCKET,
imageLocation(record.id),
12 * 60 * 60,