Skip to content

Commit 02acd41

Browse files
committed
Bug fix
1 parent 29fb761 commit 02acd41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ export async function bulkLoad(fields = [], usr = null, pwd = null, isAdmin = fa
798798
for (const table in fetchedBulkLoad) {
799799
if (table === 'asOf' || table === 'syncDeleted') continue;
800800
const fetchedTableData = fetchedBulkLoad[table];
801-
if (!Array.isArray(fetchedTableData)) {
801+
if (!Array.isArray(fetchedTableData) || (fetchedTableData.length > 0 && (typeof fetchedTableData[0] !== 'object' || Array.isArray(fetchedTableData[0])))) {
802802
updatedBulkLoad[table] = fetchedTableData;
803803
continue;
804804
}

0 commit comments

Comments
 (0)