Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiragAgg5k committed Jan 23, 2025
1 parent 4f05021 commit c60a9d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class Realtime(client: Client) : Service(client), CoroutineScope {
val message = text.fromJson<RealtimeResponse>()
when (message.type) {
TYPE_ERROR -> handleResponseError(message)
TYPE_EVENT -> message.data?.let {handleResponseEvent(message)}
TYPE_EVENT -> message.data?.let {handleResponseEvent(message) ?: {}}
TYPE_PONG -> {}
}
}
Expand Down

0 comments on commit c60a9d1

Please sign in to comment.