diff --git a/js/accounts/pocketbase.js b/js/accounts/pocketbase.js index a0b5ac0..749688a 100644 --- a/js/accounts/pocketbase.js +++ b/js/accounts/pocketbase.js @@ -405,7 +405,8 @@ const syncManager = { const getAll = async (store) => { if (database && typeof database.getAll === 'function') return database.getAll(store); - if (database && database.db && typeof database.db.getAll === 'function') return database.db.getAll(store); + if (database && database.db && typeof database.db.getAll === 'function') + return database.db.getAll(store); return []; };