forked from shihaam/thijooree
optimize bml and mib recipt to be 1:1
This commit is contained in:
@@ -416,7 +416,8 @@ class BmlLoginFlow {
|
||||
BmlTransferResult(
|
||||
success = true,
|
||||
reference = payload?.optString("reference") ?: "",
|
||||
timestamp = payload?.optString("timestamp") ?: ""
|
||||
timestamp = payload?.optString("timestamp") ?: "",
|
||||
message = json.optString("message")
|
||||
)
|
||||
}
|
||||
} catch (_: Exception) { BmlTransferResult(false, errorMessage = "Parse error") }
|
||||
|
||||
@@ -20,6 +20,7 @@ data class BmlTransferResult(
|
||||
val success: Boolean,
|
||||
val reference: String = "",
|
||||
val timestamp: String = "",
|
||||
val message: String = "",
|
||||
val errorMessage: String = ""
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user