Fix error building
This commit is contained in:
@@ -66,7 +66,7 @@ class Nip11Retriever {
|
||||
) {
|
||||
checkNotInMainThread()
|
||||
response.use {
|
||||
val body = it.body.string()
|
||||
val body = it.body?.string() ?: ""
|
||||
try {
|
||||
if (it.isSuccessful) {
|
||||
onInfo(Nip11RelayInformation.fromJson(body))
|
||||
|
||||
Reference in New Issue
Block a user