removing id from db update
This commit is contained in:
parent
48bae83521
commit
de8099aa20
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user