From af24b8601783ee1d43b812787fda4388fbba9eb1 Mon Sep 17 00:00:00 2001 From: Walter Lara Date: Thu, 16 Jan 2025 20:18:31 -0800 Subject: [PATCH] MRKT-216 | Added pointer token info to GetMarketplaceSales response --- .../features/marketplace/database/MarketplaceSaleEntity.kt | 2 ++ .../kotlin/io/newm/server/features/marketplace/model/Sale.kt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/newm-server/src/main/kotlin/io/newm/server/features/marketplace/database/MarketplaceSaleEntity.kt b/newm-server/src/main/kotlin/io/newm/server/features/marketplace/database/MarketplaceSaleEntity.kt index 6068de0e..c6b0342f 100644 --- a/newm-server/src/main/kotlin/io/newm/server/features/marketplace/database/MarketplaceSaleEntity.kt +++ b/newm-server/src/main/kotlin/io/newm/server/features/marketplace/database/MarketplaceSaleEntity.kt @@ -96,6 +96,8 @@ class MarketplaceSaleEntity( id = id.value, createdAt = createdAt, status = status, + pointerPolicyId = pointerPolicyId, + pointerAssetName = pointerAssetName, bundlePolicyId = bundlePolicyId, bundleAssetName = bundleAssetName, costPolicyId = costPolicyId, diff --git a/newm-server/src/main/kotlin/io/newm/server/features/marketplace/model/Sale.kt b/newm-server/src/main/kotlin/io/newm/server/features/marketplace/model/Sale.kt index 37b77946..c5bac67f 100644 --- a/newm-server/src/main/kotlin/io/newm/server/features/marketplace/model/Sale.kt +++ b/newm-server/src/main/kotlin/io/newm/server/features/marketplace/model/Sale.kt @@ -13,6 +13,8 @@ data class Sale( @Contextual val createdAt: LocalDateTime, val status: SaleStatus, + val pointerPolicyId: String, + val pointerAssetName: String, val bundlePolicyId: String, val bundleAssetName: String, val bundleAmount: Long,