Update Dependencies and bug fixes (#7000)

* update dependencies

* update dependencies

* feedback review

* update @mattermost/react-native-turbo-mailer
This commit is contained in:
Elias Nahum
2023-01-24 09:14:23 +02:00
committed by GitHub
parent 4aaf08b12a
commit 7aa5bd0611
349 changed files with 4907 additions and 4641 deletions

View File

@@ -11,7 +11,6 @@ import {
} from '@database/operator/utils/general';
import {logWarning} from '@utils/log';
import type {WriterInterface} from '@nozbe/watermelondb/Database';
import type Model from '@nozbe/watermelondb/Model';
import type {
HandleRecordsArgs,
@@ -186,7 +185,7 @@ export default class BaseDataOperator {
async batchRecords(models: Model[]): Promise<void> {
try {
if (models.length > 0) {
await this.database.write(async (writer: WriterInterface) => {
await this.database.write(async (writer) => {
await writer.batch(...models);
});
}