Remove unused variable
This commit is contained in:
1 parent
c03f860f8e
commit
87ba99755b
1 file changed
+1
-1
@@ -3,7 +3,7 @@ import { ConfigModuleOptions } from '@nestjs/config';
|
||||
import Joi from 'joi';
|
||||
import { createSecretKey, generateKeySync } from 'node:crypto'
|
||||
|
||||
const jwtSecretValidator: Joi.CustomValidator<string> = (value, _) => {
|
||||
const jwtSecretValidator: Joi.CustomValidator<string> = (value, ) => {
|
||||
const key = createSecretKey(value, "base64")
|
||||
const keySizeBits = (key.symmetricKeySize ?? 0) * 8
|
||||
|
||||
|
||||
Reference in new issue
Block a user