feat(attachments): minor fix and try catch for attachments controller

This commit is contained in:
Matthieu Haineault 2025-08-18 10:44:16 -04:00
parent 2761b75f40
commit e62b4cff1c

View File

@ -19,7 +19,7 @@ import { createReadStream } from "node:fs";
import { Response } from 'express'; import { Response } from 'express';
@Controller('attachments') @Controller('attachments')
export class AttachementsController { export class AttachmentsController {
constructor( constructor(
private readonly disk: DiskStorageService, private readonly disk: DiskStorageService,
private readonly prisma: PrismaService, private readonly prisma: PrismaService,