Skip to content

Commit 5d7bc7a

Browse files
committed
Fix unused variable lint
1 parent 8d62612 commit 5d7bc7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server/auth/clients.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ describe('OAuthRegisteredClientsStore', () => {
1717
client.client_secret_expires_at &&
1818
client.client_secret_expires_at < Math.floor(Date.now() / 1000)) {
1919
// If expired, retain client but remove the secret
20-
const { client_secret: _unused, ...clientWithoutSecret } = client;
20+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
21+
const { client_secret, ...clientWithoutSecret } = client;
2122
return clientWithoutSecret as OAuthClientInformationFull;
2223
}
2324

0 commit comments

Comments
 (0)