Update Dependencies (#7409)

* dev dependencies

* update deps

* update wdb

* update more deps

* update detox deps

* update logs for database batch

* fix jest setup
This commit is contained in:
Elias Nahum
2023-06-21 13:40:23 -04:00
committed by GitHub
parent bcc59d5adf
commit ef2c12e954
32 changed files with 5870 additions and 6043 deletions

View File

@@ -186,11 +186,11 @@ export default class BaseDataOperator {
try {
if (models.length > 0) {
await this.database.write(async (writer) => {
await writer.batch(models);
await writer.batch(...models);
}, description);
}
} catch (e) {
logWarning('batchRecords error ', e as Error);
logWarning('batchRecords error ', description, e as Error);
}
}