fix production issue

This commit is contained in:
root
2026-05-10 19:55:57 -04:00
parent a224d7704a
commit 2d28947b92
17 changed files with 107 additions and 81 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ router.patch('/me', async (req, res, next) => {
const body = companySchema.parse(req.body)
const company = await prisma.company.update({
where: { id: req.companyId },
data: body,
data: body as any,
})
res.json({ data: company })
} catch (err) { next(err) }