Fix: PocketBase Filter braucht single quotes und kein ISO-T-Format
This commit is contained in:
parent
a3281261ab
commit
b5cac0e12c
3 changed files with 4 additions and 5 deletions
|
|
@ -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'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue