Skip to content

Commit 6c93c12

Browse files
authored
fix(api-key): don't update the lastRequest when calling updateApiKey (#5318)
1 parent 5561ba7 commit 6c93c12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/better-auth/src/plugins/api-key/routes/update-api-key.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ export function updateApiKey({
414414
},
415415
],
416416
update: {
417-
lastRequest: new Date(),
418417
remaining: apiKey.remaining === null ? null : apiKey.remaining - 1,
419418
...newValues,
420419
},

0 commit comments

Comments
 (0)