mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
chore: cleanup and feedback implementation
This commit is contained in:
@ -6,7 +6,7 @@ export type DeleteTokenByIdOptions = {
|
||||
};
|
||||
|
||||
export const deleteTokenById = async ({ id, userId }: DeleteTokenByIdOptions) => {
|
||||
return prisma.apiToken.delete({
|
||||
return await prisma.apiToken.delete({
|
||||
where: {
|
||||
id,
|
||||
userId,
|
||||
|
||||
Reference in New Issue
Block a user