Skip to content

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Elyniss committed Jan 25, 2024
1 parent 453c4dd commit 23e562d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ internal class OnNotifyMessageUseCase(
val messageResponseParams = ChatNotifyResponseAuthParams.ResponseAuth(responseAuth = messageResponseJwt.value)
val irnParams = IrnParams(Tags.NOTIFY_MESSAGE_RESPONSE, Ttl(monthInSeconds))

jsonRpcInteractor.respondWithParams(request.id, request.topic, messageResponseParams, irnParams) { error -> logger.error(error) }
jsonRpcInteractor.respondWithParams(request.id, request.topic, messageResponseParams, irnParams, onFailure = { error -> logger.error(error) })
}.getOrElse { error ->
logger.error(error)
_events.emit(SDKError(error))
Expand Down

0 comments on commit 23e562d

Please sign in to comment.