Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
skhugh committed Nov 8, 2022
1 parent 0ebfd03 commit 48b9db4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class KanbanBoardViewModel : ViewModel() {
client.collect {
if (it is Client.Event.DocumentSynced) {
try {
updateDocument(it.value.document.getRoot().getAs(DOCUMENT_LIST_KEY))
updateDocument(it.result.document.getRoot().getAs(DOCUMENT_LIST_KEY))
} catch (e: Exception) {
document.updateAsync { jsonObject ->
jsonObject.setNewArray(DOCUMENT_LIST_KEY)
Expand Down

0 comments on commit 48b9db4

Please sign in to comment.