hotfix: backup failed of queryId

This commit is contained in:
Julian Krauser 2025-04-17 09:22:41 +02:00
parent 8bee509090
commit 097236c3e0

View file

@ -349,7 +349,12 @@ export default abstract class BackupHelper {
"member.birthdate",
"member.internalId",
])
.addSelect([...(collectIds ? ["query.id"] : []), "recipientsByQuery.title", "recipientsByQuery.query"])
.addSelect([
...(collectIds ? ["recipientsByQuery.id"] : []),
"recipientsByQuery.title",
"recipientsByQuery.query",
"recipientsByQuery.updatedAt",
])
.getMany()
.then((res: any) =>
res.map((n: any) => ({