diff options
Diffstat (limited to 'internal/processing')
| -rw-r--r-- | internal/processing/account/statuses.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/processing/account/statuses.go b/internal/processing/account/statuses.go index 701fe44ae..3b4e067f9 100644 --- a/internal/processing/account/statuses.go +++ b/internal/processing/account/statuses.go @@ -144,6 +144,7 @@ func (p *Processor) WebStatusesGet( ctx context.Context, targetAccountID string, mediaOnly bool, + limit int, maxID string, ) (*apimodel.PageableResponse, gtserror.WithCode) { account, err := p.state.DB.GetAccountByID(ctx, targetAccountID) @@ -164,7 +165,7 @@ func (p *Processor) WebStatusesGet( ctx, account, mediaOnly, - 20, + limit, maxID, ) if err != nil && !errors.Is(err, db.ErrNoEntries) { |
