🚸 drag and drop field ux, api

This commit is contained in:
Timur Ercan
2023-02-22 20:09:30 +01:00
parent f6e000c80f
commit 6e17f8c217
3 changed files with 190 additions and 142 deletions

View File

@ -67,11 +67,8 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) {
id: +body.id,
},
update: {
type: body.type,
page: +body.page,
positionX: +body.positionX,
positionY: +body.positionY,
recipientId: body.Recipient.id,
},
create: {
documentId: +documentId,