1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-22 01:47:08 +02:00

Fixed mapbox key required incorrect (#62)

This commit is contained in:
Alex 2022-03-19 10:26:58 -05:00 committed by GitHub
parent f1ab700334
commit f790315d3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ export const immichAppConfig: ConfigModuleOptions = {
MAPBOX_KEY: Joi.any().when('ENABLE_MAPBOX', { MAPBOX_KEY: Joi.any().when('ENABLE_MAPBOX', {
is: true, is: true,
then: Joi.string().required(), then: Joi.string().required(),
otherwise: Joi.string().optional, otherwise: Joi.string().optional(),
}), }),
}), }),
}; };