This commit is contained in:
Timur Ercan
2023-02-20 19:35:46 +01:00
parent 31fec65187
commit f3e083e991
5 changed files with 1 additions and 6 deletions

View File

@ -9,7 +9,6 @@ export const sendSigningRequest = async (
document: any,
user: any
) => {
// todo errror handling
await sendMail(
user.email,
`Please sign ${document.title}`,

View File

@ -7,7 +7,6 @@ export const getDocumentsForUserFromToken = async (
const user = await getUserFromToken(context.req, context.res);
if (!user) return Promise.reject("Invalid user or token.");
// todo remove document base64 data
const documents = await prisma.document.findMany({
where: {
userId: user.id,