Browse Source

Hotfix for #633:

-  .includes -> _.includes
pull/1/head
rozetko 5 years ago
parent
commit
d757e32fe2
  1. 2
      server/src/migrations.ts

2
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;
}
});

Loading…
Cancel
Save