Skip to content

Commit 4ef447a

Browse files
Merge pull request #654 from tk2232/master
fixes #653
2 parents f40cb52 + 38611e6 commit 4ef447a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/dart/lib/src/utils/parse_live_list.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class ParseLiveList<T extends ParseObject> {
3131
}
3232

3333
final QueryBuilder<T> _query;
34+
3435
//The included Items, where LiveList should look for updates.
3536
final Map<String, dynamic> _listeningIncludes;
3637
final bool _lazyLoading;
@@ -142,7 +143,7 @@ class ParseLiveList<T extends ParseObject> {
142143
return string;
143144
}),
144145
);
145-
query.keysToReturn(keys);
146+
if (keys.isNotEmpty) query.keysToReturn(keys);
146147
}
147148
return await query.query<T>();
148149
}
@@ -738,6 +739,7 @@ class PathKey {
738739

739740
final String key;
740741
Subscription<ParseObject>? subscription;
742+
741743
@override
742744
String toString() {
743745
return 'PathKey(key: $key, subscription: ${subscription?.requestId})';

0 commit comments

Comments
 (0)