diff --git a/server/libs/common/src/config/app.config.ts b/server/libs/common/src/config/app.config.ts index be3a006b75..04aae2733e 100644 --- a/server/libs/common/src/config/app.config.ts +++ b/server/libs/common/src/config/app.config.ts @@ -3,7 +3,7 @@ import { ConfigModuleOptions } from '@nestjs/config'; import Joi from 'joi'; import { createSecretKey, generateKeySync } from 'node:crypto' -const jwtSecretValidator: Joi.CustomValidator = (value, _) => { +const jwtSecretValidator: Joi.CustomValidator = (value, ) => { const key = createSecretKey(value, "base64") const keySizeBits = (key.symmetricKeySize ?? 0) * 8