✨ Balance exchange source points, link account with Solarpass with drasl
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
package dev.solsynth.snConnect.services
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.json.Json
|
||||
import okhttp3.MediaType.Companion.toMediaTypeOrNull
|
||||
import okhttp3.Request
|
||||
import okhttp3.RequestBody.Companion.toRequestBody
|
||||
import java.io.IOException
|
||||
import java.util.UUID
|
||||
import java.util.*
|
||||
|
||||
@Serializable
|
||||
data class SnMessageRequest(
|
||||
@@ -16,7 +15,7 @@ data class SnMessageRequest(
|
||||
)
|
||||
|
||||
class SnMessageService(private val sn: SnService) {
|
||||
private val json = Json {
|
||||
private val json: Json = Json {
|
||||
ignoreUnknownKeys = true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user