mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
feat: add recipient creation
This commit is contained in:
@ -6,7 +6,7 @@ export type GetApiTokenByIdOptions = {
|
||||
};
|
||||
|
||||
export const getApiTokenById = async ({ id, userId }: GetApiTokenByIdOptions) => {
|
||||
return prisma.apiToken.findFirstOrThrow({
|
||||
return await prisma.apiToken.findFirstOrThrow({
|
||||
where: {
|
||||
id,
|
||||
userId,
|
||||
|
||||
Reference in New Issue
Block a user