Fix unused variable lint
This commit is contained in:
parent
8d62612479
commit
5d7bc7a035
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ describe('OAuthRegisteredClientsStore', () => {
|
|||
client.client_secret_expires_at &&
|
||||
client.client_secret_expires_at < Math.floor(Date.now() / 1000)) {
|
||||
// If expired, retain client but remove the secret
|
||||
const { client_secret: _unused, ...clientWithoutSecret } = client;
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { client_secret, ...clientWithoutSecret } = client;
|
||||
return clientWithoutSecret as OAuthClientInformationFull;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue