mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
qoc
This commit is contained in:
@ -6,7 +6,7 @@ export const getDocumentsForUserFromToken = async (
|
||||
context: any
|
||||
): Promise<PrismaDocument[]> => {
|
||||
const user = await getUserFromToken(context.req, context.res);
|
||||
if (!user) return Promise.reject("Invalid user or token.s");
|
||||
if (!user) return Promise.reject("Invalid user or token.");
|
||||
|
||||
const documents: PrismaDocument[] = await prisma.document.findMany({
|
||||
where: {
|
||||
|
||||
Reference in New Issue
Block a user