optimize bml and mib recipt to be 1:1

This commit is contained in:
2026-05-16 14:11:42 +05:00
parent 4b6c5e5d8b
commit 92bbe383b8
8 changed files with 83 additions and 72 deletions
@@ -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 = ""
)