[feature] Add partial text search for accounts + statuses (#1836)

This commit is contained in:
tobi
2023-06-21 18:26:40 +02:00
committed by GitHub
parent fab64a20b0
commit 831ae09f8b
30 changed files with 3834 additions and 669 deletions

View File

@ -118,7 +118,7 @@ func (m *Module) HomeTimelineGETHandler(c *gin.Context) {
return
}
limit, errWithCode := apiutil.ParseLimit(c.Query(apiutil.LimitKey), 20)
limit, errWithCode := apiutil.ParseLimit(c.Query(apiutil.LimitKey), 20, 40, 1)
if errWithCode != nil {
apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1)
return