fix(type error):
This commit is contained in:
@@ -385,7 +385,7 @@ router.put(
|
||||
|
||||
const updated = await storage.updatePdfFile(id, {
|
||||
filename: file?.originalname,
|
||||
pdfData: file?.buffer,
|
||||
pdfData: file?.buffer as any,
|
||||
});
|
||||
|
||||
if (!updated)
|
||||
|
||||
Reference in New Issue
Block a user