[bugfix] Avoid empty public/local timeline queries (#2784)

This commit is contained in:
tobi
2024-03-25 17:20:45 +01:00
committed by GitHub
parent 29031d1e27
commit 36f79e650c
4 changed files with 259 additions and 32 deletions

View File

@@ -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),