diff --git a/api/api-core/src/main/kotlin/co/nilin/opex/api/core/inout/GatewayUpdateCommand.kt b/api/api-core/src/main/kotlin/co/nilin/opex/api/core/inout/GatewayUpdateCommand.kt index 6378b2c25..c73735de0 100644 --- a/api/api-core/src/main/kotlin/co/nilin/opex/api/core/inout/GatewayUpdateCommand.kt +++ b/api/api-core/src/main/kotlin/co/nilin/opex/api/core/inout/GatewayUpdateCommand.kt @@ -15,8 +15,8 @@ enum class GatewayType() { property = "type" ) @JsonSubTypes( - JsonSubTypes.Type(value = OffChainGatewayCommand::class, name = "OffChain"), - JsonSubTypes.Type(value = OnChainGatewayCommand::class, name = "OnChain"), + JsonSubTypes.Type(value = OffChainGatewayUpdateCommand::class, name = "OffChain"), + JsonSubTypes.Type(value = OnChainGatewayUpdateCommand::class, name = "OnChain"), ) open abstract class CurrencyGatewayUpdateCommand( open var currencySymbol: String? = null,