Fix: PocketBase Filter braucht single quotes und kein ISO-T-Format

This commit is contained in:
rene 2026-05-17 14:01:07 +02:00
parent a3281261ab
commit b5cac0e12c
3 changed files with 4 additions and 5 deletions

View file

@ -23,7 +23,7 @@
const user = await pb.collection('users').getOne(pb.authStore.record!.id);
const tenantId = user.tenant;
const result = await pb.collection('check_logs').getList(p, PER_PAGE, {
filter: `tenant = "${tenantId}"`,
filter: `tenant = '${tenantId}'`,
expand: 'station',
sort: '-created'
});