From 9cb536a832d3e63233a429105f8ea5bb00334faf Mon Sep 17 00:00:00 2001 From: Eugene Gostkin Date: Tue, 19 Dec 2023 01:40:58 +0100 Subject: [PATCH] remove asset --- .../server/app/controllers/ProjectedNftRangeController.ts | 2 -- webserver/shared/models/ProjectedNftRange.ts | 8 -------- 2 files changed, 10 deletions(-) diff --git a/webserver/server/app/controllers/ProjectedNftRangeController.ts b/webserver/server/app/controllers/ProjectedNftRangeController.ts index 8288ce7d..c88e50d5 100644 --- a/webserver/server/app/controllers/ProjectedNftRangeController.ts +++ b/webserver/server/app/controllers/ProjectedNftRangeController.ts @@ -73,7 +73,6 @@ export class ProjectedNftRangeController extends Controller { previousTxOutputIndex: data.previous_tx_output_index != null ? parseInt(data.previous_tx_output_index) : null, actionTxId: data.action_tx_id, actionOutputIndex: data.action_output_index, - asset: `${data.policy_id}.${data.asset_name}`, policyId: data.policy_id, assetName: data.asset_name, amount: data.amount, @@ -106,7 +105,6 @@ export class ProjectedNftRangeController extends Controller { previousTxOutputIndex: data.previous_tx_output_index != null ? parseInt(data.previous_tx_output_index) : null, actionTxId: data.action_tx_id, actionOutputIndex: data.action_output_index, - asset: `${data.policy_id}.${data.asset_name}`, policyId: data.policy_id, assetName: data.asset_name, amount: data.amount, diff --git a/webserver/shared/models/ProjectedNftRange.ts b/webserver/shared/models/ProjectedNftRange.ts index efc87ac5..0120745a 100644 --- a/webserver/shared/models/ProjectedNftRange.ts +++ b/webserver/shared/models/ProjectedNftRange.ts @@ -65,14 +65,6 @@ export type ProjectedNftRangeResponse = { * @example 1 */ previousTxOutputIndex: number | null, - - /** - * Asset that relates to Projected NFT event. Consists of 2 parts: PolicyId and AssetName - * - * @pattern [0-9a-fA-F]+.[0-9a-fA-F]+ - * @example "96f7dc9749ede0140f042516f4b723d7261610d6b12ccb19f3475278.415045" - */ - asset: string, /** * Asset policy id that relates to Projected NFT event *