Browse Source

hotfix

pull/1/head
rozetko 6 years ago
parent
commit
5243facb31
  1. 2
      server/src/models/segment_model.ts

2
server/src/models/segment_model.ts

@ -97,7 +97,7 @@ export async function findMany(id: AnalyticUnitId, query: FindManyQuery): Promis
export async function insertSegments(segments: Segment[]) {
if(_.isEmpty(segments)) {
return;
return [];
}
let analyticUnitId: AnalyticUnitId = segments[0].analyticUnitId;
let segmentIdsToRemove: SegmentId[] = [];

Loading…
Cancel
Save