From 253bbd0dea33f768107f75804de52af90ffb94a8 Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Thu, 1 Nov 2018 15:53:43 -0600 Subject: [PATCH] We have now verified that both the weight_threshold in UserAccount and weight in UserAccountAuthority are Integers. --- .../java/cy/agorise/bitsybitshareswallet/models/UserAccount.kt | 2 +- .../agorise/bitsybitshareswallet/models/UserAccountAuthority.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/models/UserAccount.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/models/UserAccount.kt index c895e3f..9460ea7 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/models/UserAccount.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/models/UserAccount.kt @@ -10,5 +10,5 @@ data class UserAccount ( @ColumnInfo(name = "id") val id: String, @ColumnInfo(name = "name") val name: String, @ColumnInfo(name = "is_ltm") val isLtm: Boolean, - @ColumnInfo(name = "weight_threshold") val weightThreshold: Int // TODO verify data type + @ColumnInfo(name = "weight_threshold") val weightThreshold: Int ) \ No newline at end of file diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/models/UserAccountAuthority.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/models/UserAccountAuthority.kt index 6eb09ef..99db269 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/models/UserAccountAuthority.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/models/UserAccountAuthority.kt @@ -21,5 +21,5 @@ import androidx.room.ForeignKey data class UserAccountAuthority ( @ColumnInfo(name = "user_account_id") val userAccountId: String, @ColumnInfo(name = "authority_id") val authorityId: Long, - @ColumnInfo(name = "weight") val weight: Int // TODO verify data type + @ColumnInfo(name = "weight") val weight: Int ) \ No newline at end of file