mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 02:23:46 +02:00
fix: Fix fetching posts in firebase service
This commit is contained in:
parent
4aa4c1e291
commit
7e7f74a02b
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class FirebaseTimelinePostService extends TimelinePostService
|
|||
.get()
|
||||
: await _db.collection(_options.timelineCollectionName).get();
|
||||
|
||||
var posts = <TimelinePost>[];
|
||||
posts = <TimelinePost>[];
|
||||
for (var doc in snapshot.docs) {
|
||||
var data = doc.data();
|
||||
var user = await _userService.getUser(data['creator_id']);
|
||||
|
|
Loading…
Reference in a new issue