fix: Fix fetching posts in firebase service

This commit is contained in:
Jacques 2024-01-30 09:20:10 +01:00
parent 4aa4c1e291
commit 7e7f74a02b

View file

@ -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']);