Fixed mapbox key required incorrect (#62)

pull/72/head
Alex 2022-03-19 10:26:58 +07:00 committed by GitHub
parent f1ab700334
commit f790315d3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -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(),
}),
}),
};