Skip to content

Commit aa10e4a

Browse files
Fix e2e test for listen
1 parent fb58706 commit aa10e4a

File tree

1 file changed

+1
-3
lines changed
  • packages/firebase_data_connect/firebase_data_connect/lib/src/core

1 file changed

+1
-3
lines changed

packages/firebase_data_connect/firebase_data_connect/lib/src/core/ref.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,7 @@ class QueryRef<Data, Variables> extends OperationRef<Data, Variables> {
311311
Stream<QueryResult<Data, Variables>> subscribe() {
312312
_streamController ??= _queryManager.addQuery(this);
313313

314-
execute()
315-
.then(_streamController!.add)
316-
.catchError(_streamController!.addError);
314+
execute();
317315

318316
return _streamController!.stream.cast<QueryResult<Data, Variables>>();
319317
}

0 commit comments

Comments
 (0)