Fix error building

This commit is contained in:
greenart7c3
2025-01-06 07:50:34 -03:00
parent d47d8f1659
commit f58e8ed59f
@@ -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))