diff --git a/app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseJson.kt b/app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseJson.kt index 173d45b43..cbae84635 100644 --- a/app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseJson.kt +++ b/app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseJson.kt @@ -246,7 +246,7 @@ data class SyncResponseJson( @SerialName("usePolicies") val shouldUsePolicies: Boolean, - @SerialName("useKeyConnector") + @SerialName("keyConnectorEnabled") val shouldUseKeyConnector: Boolean, @SerialName("keyConnectorUrl") diff --git a/app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/network/service/SyncServiceTest.kt b/app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/network/service/SyncServiceTest.kt index 7d20a2728..f2b4a9e4f 100644 --- a/app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/network/service/SyncServiceTest.kt +++ b/app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/network/service/SyncServiceTest.kt @@ -58,7 +58,7 @@ private const val SYNC_SUCCESS_JSON = """ "organizations": [ { "usePolicies": false, - "useKeyConnector": false, + "keyConnectorEnabled": false, "keyConnectorUrl": "mockKeyConnectorUrl-1", "type": 1, "seats": 1, @@ -133,7 +133,7 @@ private const val SYNC_SUCCESS_JSON = """ "providerOrganizations": [ { "usePolicies": false, - "useKeyConnector": false, + "keyConnectorEnabled": false, "keyConnectorUrl": "mockKeyConnectorUrl-1", "type": 1, "seats": 1,