Skip to content

Draft: fix(backend): requested limit to be fulfilled if possible

laozhoubuluo requested to merge laozhoubuluo/firefish:fix/pagination into develop

What does this PR do? (Please give us a brief description of what this PR does.)

Fix(backend): requested limit to be fulfilled if possible.

This MR including majority of APIs, but some cases not changed.

  1. packages/backend/src/server/api/endpoints/i/notifications.ts not changed, because status updates are difficult to adapt. There is no guarantee that the full amount will be returned even if changed.
  2. All files without makePaginationQuery not changed, because not fulfiled seems cannot make bug.

Resolves: #10867

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request
  • I have made sure to run pnpm run format before submitting this pull request

If this merge request makes changes to the Firefish API, please update docs/api-change.md

  • I updated the document / This merge request doesn't include API changes
Edited by laozhoubuluo

Merge request reports