Change from transaction back to batch

pull/1244/head
Alex Baker 4 years ago
parent 5d41908b82
commit 2bef1b41ef

@ -95,7 +95,7 @@ class EtebaseClient(
suspend fun uploadChanges(collection: Collection, items: List<Item>) {
val itemManager = etebase.collectionManager.getItemManager(collection)
withContext(Dispatchers.IO) {
itemManager.transaction(items.toTypedArray())
itemManager.batch(items.toTypedArray())
}
}

Loading…
Cancel
Save