Skip to content

Commit

Permalink
FIX potential critical bug on linkedWith
Browse files Browse the repository at this point in the history
  • Loading branch information
stombre committed Oct 27, 2020
1 parent b24e87b commit cb42083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/query/baseQuery.classFactory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ const injectIlorm = (ilorm) => {
streamIndex++;
}
for (let index = 0; index < streams.length; index++) {
this.linkedWith(streams[0].instance);
this.linkedWith(streams[index].instance);
}

// eslint-disable-next-line no-await-in-loop
Expand Down

0 comments on commit cb42083

Please sign in to comment.