fix: typo
This commit is contained in:
parent
5a33c129c1
commit
886cae7f94
1 changed files with 2 additions and 2 deletions
|
|
@ -225,12 +225,12 @@ export class ProductController extends Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
return Object.assign(record, {
|
return Object.assign(record, {
|
||||||
profileImageUrl: await presignedGetObjectIfExist(
|
imageUrl: await presignedGetObjectIfExist(
|
||||||
MINIO_BUCKET,
|
MINIO_BUCKET,
|
||||||
imageLocation(record.id),
|
imageLocation(record.id),
|
||||||
12 * 60 * 60,
|
12 * 60 * 60,
|
||||||
),
|
),
|
||||||
profileImageUploadUrl: await minio.presignedPutObject(
|
imageUploadUrl: await minio.presignedPutObject(
|
||||||
MINIO_BUCKET,
|
MINIO_BUCKET,
|
||||||
imageLocation(record.id),
|
imageLocation(record.id),
|
||||||
12 * 60 * 60,
|
12 * 60 * 60,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue