Skip to content

Commit

Permalink
fix: change the type of contract id when sending to analytics (#18045)
Browse files Browse the repository at this point in the history
* fix: change the type of contract id when sending to analytics

* fix: change the type of contract id when sending to analytics
  • Loading branch information
vinu-deriv authored Feb 5, 2025
1 parent 1a69a87 commit 083e4ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/trader/src/Analytics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const sendDtraderV2PurchaseToAnalytics = (trade_name: string, market_name
action: 'run_contract',
trade_name,
market_name,
contract_id: contract_id.toString(),
contract_id,
},
},
},
Expand All @@ -91,7 +91,7 @@ export const sendDtraderPurchaseToAnalytics = (trade_name: string, market_name:
action: 'run_contract',
trade_name,
market_name,
contract_id: contract_id.toString(),
contract_id,
},
},
},
Expand Down

0 comments on commit 083e4ca

Please sign in to comment.