🐛 Fix url formatting issue

This commit is contained in:
LittleSheep 2025-03-14 23:18:16 +08:00
parent 78d9bb5fc2
commit 93435b9ace

View File

@ -64,7 +64,7 @@ func FetchTimeline(server string, limit int, useTrend bool) ([]MastodonPost, err
lo.Ternary(
useTrend,
"%s/api/v1/trends/statuses?limit=%d",
"%s/api/v1/timelines/public?limit=%s",
"%s/api/v1/timelines/public?limit=%d",
),
server,
limit,