fix uptime config key (#119631) (#119636)

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
This commit is contained in:
Kibana Machine 2021-11-24 11:55:18 -05:00 committed by GitHub
parent 601266849a
commit 35fce3880d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ export const registerUptimeSavedObjects = (
) => {
savedObjectsService.registerType(umDynamicSettings);
if (config?.unsafe.service.enabled) {
if (config?.unsafe?.service.enabled) {
savedObjectsService.registerType(syntheticsMonitor);
}
};