removing id from db update

This commit is contained in:
Omer Sabic 2024-06-07 21:37:59 +02:00
parent 48bae83521
commit de8099aa20

View File

@ -354,6 +354,7 @@ export const dashboardRoutes = (fastify, _, done) => {
}); });
} }
req.body.id = undefined;
await db.update(sites).set(req.body); await db.update(sites).set(req.body);
return { return {