diff options
Diffstat (limited to 'internal/api/client/notification/notificationsget.go')
-rw-r--r-- | internal/api/client/notification/notificationsget.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/notification/notificationsget.go b/internal/api/client/notification/notificationsget.go index 94ea6dbd9..d6b3f5162 100644 --- a/internal/api/client/notification/notificationsget.go +++ b/internal/api/client/notification/notificationsget.go @@ -123,7 +123,7 @@ func (m *Module) NotificationsGETHandler(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) |