diff options
author | 2024-03-25 17:20:45 +0100 | |
---|---|---|
committer | 2024-03-25 16:20:45 +0000 | |
commit | 36f79e650c3cdf26290c879a4d5169ba1d7aedf4 (patch) | |
tree | b5c222c9be449b1e73b5610eb68dd482e9410b27 /internal/api/client/timelines/public.go | |
parent | [chore]: Bump github.com/gin-contrib/sessions from 0.0.5 to 1.0.0 (#2782) (diff) | |
download | gotosocial-36f79e650c3cdf26290c879a4d5169ba1d7aedf4.tar.xz |
[bugfix] Avoid empty public/local timeline queries (#2784)
Diffstat (limited to 'internal/api/client/timelines/public.go')
-rw-r--r-- | internal/api/client/timelines/public.go | 2 |
1 files changed, 1 insertions, 1 deletions
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), |