mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
Remove unused variable
This commit is contained in:
parent
c03f860f8e
commit
87ba99755b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue