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