Skip to content

Commit 0e4e994

Browse files
committed
Fix prisma update condition
1 parent 71072c0 commit 0e4e994

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/webapp/app/services/organizationAccessToken.server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export async function revokeOrganizationAccessToken(tokenId: string) {
4747
await prisma.organizationAccessToken.update({
4848
where: {
4949
id: tokenId,
50-
revokedAt: null,
5150
},
5251
data: {
5352
revokedAt: new Date(),

0 commit comments

Comments
 (0)