From d757e32fe2ecf947dfbbfeaa65a0628d82c990df Mon Sep 17 00:00:00 2001 From: rozetko Date: Mon, 6 May 2019 15:33:25 +0300 Subject: [PATCH] Hotfix for #633: - .includes -> _.includes --- server/src/migrations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/migrations.ts b/server/src/migrations.ts index f814928..498e03a 100644 --- a/server/src/migrations.ts +++ b/server/src/migrations.ts @@ -138,7 +138,7 @@ function getDetectorByType(analyticUnitType: string): string { let detector; _.forOwn(analyticUnitTypesMapping, (types, detectorType) => { - if(types.includes(analyticUnitType)) { + if(_.includes(types, analyticUnitType)) { detector = detectorType; } });