diff --git a/server/src/config/app.config.ts b/server/src/config/app.config.ts index 21e156fe75..8114e6e0dc 100644 --- a/server/src/config/app.config.ts +++ b/server/src/config/app.config.ts @@ -15,7 +15,7 @@ export const immichAppConfig: ConfigModuleOptions = { MAPBOX_KEY: Joi.any().when('ENABLE_MAPBOX', { is: true, then: Joi.string().required(), - otherwise: Joi.string().optional, + otherwise: Joi.string().optional(), }), }), };