Skip to content

Commit

Permalink
Sample error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwonhyukjoon committed Oct 1, 2024
1 parent ce68172 commit 1238290
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SampleViewModel : ViewModel() {

fun getObjectsDetails() = viewModelScope.launch {
_objectInfos.value?.let { objects ->
val multiObjects = SuiClient.instance.getMultiObjectDetail(objects.map { it.objectId })
val multiObjects = SuiClient.instance.getMultiObjectsById(objects.map { it.objectId })
_toastMessage.postValue(Gson().toJson(multiObjects))
}
}
Expand Down

0 comments on commit 1238290

Please sign in to comment.