diff --git a/src/modules/attachments/controllers/attachments.controller.ts b/src/modules/attachments/controllers/attachments.controller.ts index 4999771..963bb5c 100644 --- a/src/modules/attachments/controllers/attachments.controller.ts +++ b/src/modules/attachments/controllers/attachments.controller.ts @@ -74,7 +74,7 @@ export class AttachmentsController { return this.prisma.attachmentVariants.findMany({ where: { attachment_id: num_id }, orderBy: { variant: 'asc'}, - select: { variant: true, bytes: true, width: true, height: true, patch: true, created_at: true }, + select: { variant: true, bytes: true, width: true, height: true, path: true, created_at: true }, }); }