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