diff options
Diffstat (limited to 'internal/api/client/timeline/home.go')
-rw-r--r-- | internal/api/client/timeline/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/timeline/home.go b/internal/api/client/timeline/home.go index 5349f8c5f..e6135dd63 100644 --- a/internal/api/client/timeline/home.go +++ b/internal/api/client/timeline/home.go @@ -142,7 +142,7 @@ func (m *Module) HomeTimelineGETHandler(c *gin.Context) { limit := 20 limitString := c.Query(LimitKey) if limitString != "" { - i, err := strconv.ParseInt(limitString, 10, 64) + i, err := strconv.ParseInt(limitString, 10, 32) if err != nil { err := fmt.Errorf("error parsing %s: %s", LimitKey, err) api.ErrorHandler(c, gtserror.NewErrorBadRequest(err, err.Error()), m.processor.InstanceGet) |