mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 09:41:35 +10:00
🧹
This commit is contained in:
@ -9,7 +9,6 @@ export const sendSigningRequest = async (
|
||||
document: any,
|
||||
user: any
|
||||
) => {
|
||||
// todo errror handling
|
||||
await sendMail(
|
||||
user.email,
|
||||
`Please sign ${document.title}`,
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user