From 88c32d73d2fe35f6e9b899f128da7a6881df177c Mon Sep 17 00:00:00 2001 From: Amir Rajabi <34955519+AmirRajabii@users.noreply.github.com> Date: Wed, 28 Oct 2026 16:24:42 +0330 Subject: [PATCH] Update JsonSubTypes for GatewayUpdateCommand --- .../co/nilin/opex/api/core/inout/GatewayUpdateCommand.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,