fix production issue
This commit is contained in:
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user