From 93435b9ace55da50136b3e29b24d3061c959cf8f Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Fri, 14 Mar 2025 23:18:16 +0800 Subject: [PATCH] :bug: Fix url formatting issue --- pkg/internal/services/mastodon/fetch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/services/mastodon/fetch.go b/pkg/internal/services/mastodon/fetch.go index 92a9bac..fff8daf 100644 --- a/pkg/internal/services/mastodon/fetch.go +++ b/pkg/internal/services/mastodon/fetch.go @@ -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,