mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(server): fix person pagination when deleting (#6707)
fix person delete pagination
This commit is contained in:
parent
f52994e8ca
commit
28806d03e3
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ export class PersonService {
|
||||||
|
|
||||||
private async deleteAllPeople() {
|
private async deleteAllPeople() {
|
||||||
const personPagination = usePagination(JOBS_ASSET_PAGINATION_SIZE, (pagination) =>
|
const personPagination = usePagination(JOBS_ASSET_PAGINATION_SIZE, (pagination) =>
|
||||||
this.repository.getAll(pagination),
|
this.repository.getAll({ ...pagination, skip: 0 }),
|
||||||
);
|
);
|
||||||
|
|
||||||
for await (const people of personPagination) {
|
for await (const people of personPagination) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue