Skip to content

Fix command only working halfway through#2116

Merged
BentiGorlich merged 2 commits intomainfrom
fix/remove-remote-media-command
Apr 28, 2026
Merged

Fix command only working halfway through#2116
BentiGorlich merged 2 commits intomainfrom
fix/remove-remote-media-command

Conversation

@BentiGorlich
Copy link
Copy Markdown
Member

@BentiGorlich BentiGorlich commented Apr 24, 2026

The problem was the pagination. About halfway through it tries to refetch the images, but the result set is now half the size, because the images it already deleted will not appear in the results anymore. Fix that by just fetching again without the offset if there is a next page and if not just set it to an empty array

The problem was the pagination. About halfway through it tries to refetch the images, but the result set is not half the size, because the images it already deleted will not appear in the results anymore. Fix that by just fetching again without the offset if there is a next page and if not just set it to an empty array
@BentiGorlich BentiGorlich self-assigned this Apr 24, 2026
@BentiGorlich BentiGorlich added bug Something isn't working backend Backend related issues and pull requests labels Apr 24, 2026
@BentiGorlich BentiGorlich enabled auto-merge (squash) April 28, 2026 14:43
@BentiGorlich BentiGorlich merged commit 169eea6 into main Apr 28, 2026
9 checks passed
@BentiGorlich BentiGorlich deleted the fix/remove-remote-media-command branch April 28, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend related issues and pull requests bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants