From 36f79e650c3cdf26290c879a4d5169ba1d7aedf4 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 25 Mar 2024 17:20:45 +0100 Subject: [bugfix] Avoid empty public/local timeline queries (#2784) --- internal/api/client/timelines/public.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/client') diff --git a/internal/api/client/timelines/public.go b/internal/api/client/timelines/public.go index c4ffbc6c8..49530216f 100644 --- a/internal/api/client/timelines/public.go +++ b/internal/api/client/timelines/public.go @@ -150,7 +150,7 @@ func (m *Module) PublicTimelineGETHandler(c *gin.Context) { resp, errWithCode := m.processor.Timeline().PublicTimelineGet( c.Request.Context(), - authed, + authed.Account, c.Query(apiutil.MaxIDKey), c.Query(apiutil.SinceIDKey), c.Query(apiutil.MinIDKey), -- cgit v1.2.3