Skip to content

Commit

Permalink
Update x-pack/plugins/data_enhanced/server/search/session/session_ser…
Browse files Browse the repository at this point in the history
…vice.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
  • Loading branch information
lizozom and Dosant authored Dec 8, 2020
1 parent 4876f3d commit ffabaa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class BackgroundSessionService implements ISessionService {

this.logger.debug(`updateAllSavedObjects | Updating ${activeMappingObjects.length} items`);
const updatedSessions = activeMappingObjects
?.filter((so) => !so.error)
.filter((so) => !so.error)
.map((sessionSavedObject) => {
const sessionInfo = this.sessionSearchMap.get(sessionSavedObject.id);
const idMapping = sessionInfo ? Object.fromEntries(sessionInfo.ids.entries()) : {};
Expand Down

0 comments on commit ffabaa9

Please sign in to comment.