Skip to content
Snippets Groups Projects
Commit f7f70125 authored by Kamal Bramwell's avatar Kamal Bramwell
Browse files

Temporarily hardcoded SendReport deserialization

parent bb34a8ee
No related branches found
No related tags found
No related merge requests found
package io.elixxir.xxclient.e2e
import com.google.gson.Gson
import io.elixxir.xxclient.callbacks.*
import io.elixxir.xxclient.models.*
import io.elixxir.xxclient.models.BindingsModel.Companion.decode
......@@ -129,7 +130,7 @@ open class E2eAdapter(protected val e2e: E2eBindings) : E2e{
payload,
params
)
return decode(reportData)
return Gson().fromJson(reportData.decodeToString(), SendReport::class.java)
}
override fun registerListener(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment