Skip to content

High performance self-hosted photo and video management solution.

Remove unused variable

bo0tzz87ba99755b52
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<string> = (value, _) => {
+const jwtSecretValidator: Joi.CustomValidator<string> = (value, ) => {
const key = createSecretKey(value, "base64")
const keySizeBits = (key.symmetricKeySize ?? 0) * 8