ribesg
03/20/2020, 9:14 AMribesg
03/20/2020, 9:16 AMval res = <http://http.post|http.post><LoginResponse>("$baseUrl$postLoginPath") {
contentType(Application.Json)
body = LoginPayload(login, password, appId)
}
ribesg
03/20/2020, 9:17 AMHttpClient: INFO - 54D783 POST https://$baseUrl/$postLoginPath
HttpClient: DEBUG - Headers:
Accept: application/json
Accept-Charset: UTF-8
HttpClient: DEBUG - Body:
{
"imageConsent": false,
"rightsConsent": false
}
ribesg
03/20/2020, 9:19 AM@Serializable
internal data class ConsentsPayload(
val imageConsent: Boolean,
val rightsConsent: Boolean
)
Seriously wtf, how? Wrong address somehow? Maybe a +1 on an index in kotlinx.serialization? This is absurdribesg
03/20/2020, 9:22 AMribesg
03/20/2020, 9:25 AMe5l
03/20/2020, 9:27 AMribesg
03/20/2020, 9:28 AMSam
03/20/2020, 2:29 PM~/Library/Developer/Xcode/DerivedData
. Often times when things go weird like that, it’s a problem with derived data not being refreshed when it is supposed to be.ribesg
03/20/2020, 4:12 PMSam
03/20/2020, 4:27 PM