feat: add recipient creation

This commit is contained in:
Mythie
2024-01-22 17:38:02 +11:00
parent b6aface982
commit 5a28eaa4ff
11 changed files with 187 additions and 218 deletions

View File

@ -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,