mirror of
https://gitlab.com/mysocialportal/fediverse-archiving-tools.git
synced 2024-10-18 08:53:31 +00:00
Merge branch 'fix-timeline-entry-api-bug' into 'main'
Fix broken URL path/QP for getTimelineEntry See merge request mysocialportal/fediverse-archiving-tools!6
This commit is contained in:
commit
c94c736614
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class FriendicaClient {
|
|||
FutureResult<List<FriendicaEntry>, ExecError> getTimeline(
|
||||
String userId, int page, int count) async {
|
||||
final request = Uri.parse(
|
||||
'https://$serverName/api/statuses/user_timelineuser_id=$userId&count=$count&page=$page');
|
||||
'https://$serverName/api/statuses/user_timeline?screen_name=$userId&count=$count&page=$page');
|
||||
return (await _getApiRequest(request)).mapValue((postsJson) => postsJson
|
||||
.map((postJson) => FriendicaEntry.fromJson(postJson))
|
||||
.toList());
|
||||
|
|
Loading…
Reference in a new issue