mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
build fix
This commit is contained in:
@ -33,13 +33,13 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) {
|
||||
id: +body.id,
|
||||
},
|
||||
update: {
|
||||
email: body.email,
|
||||
name: body.name,
|
||||
email: body.email.toString(),
|
||||
name: body.name.toString(),
|
||||
},
|
||||
create: {
|
||||
documentId: +documentId,
|
||||
email: body.email,
|
||||
name: body.name,
|
||||
email: body.email.toString(),
|
||||
name: body.name.toString(),
|
||||
token: short.generate().toString(),
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user