mirror of
https://github.com/documenso/documenso.git
synced 2025-11-22 20:51:33 +10:00
wip: what if user ids were strings instead of numbers
This commit is contained in:
@ -10,7 +10,7 @@ import { getTeamById } from '../team/get-team';
|
||||
|
||||
export type GetDocumentByIdOptions = {
|
||||
documentId: number;
|
||||
userId: number;
|
||||
userId: string;
|
||||
teamId?: number;
|
||||
};
|
||||
|
||||
@ -58,7 +58,7 @@ export const getDocumentById = async ({ documentId, userId, teamId }: GetDocumen
|
||||
|
||||
export type GetDocumentWhereInputOptions = {
|
||||
documentId: number;
|
||||
userId: number;
|
||||
userId: string;
|
||||
teamId?: number;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user