Skip to content

Commit

Permalink
Henry/change rudderstack events type (#17907)
Browse files Browse the repository at this point in the history
* fix: package-lock

* fix: change trade_type_count to number type

* fix: remove package-lock

* fix: remove package-lock
  • Loading branch information
henry-deriv authored Dec 27, 2024
1 parent 0e6fd62 commit 9e58659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/shared/src/utils/analytics/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type ResponseData = {
};
type Event = {
name: string;
properties: Record<string, string>;
properties: Record<string, unknown>;
cache?: boolean;
};
type Item = {
Expand Down
2 changes: 1 addition & 1 deletion packages/trader/src/Analytics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const sendSelectedTradeTypeToAnalytics = (
trade_name,
subform_name,
market_name,
trade_type_count: trade_type_count.toString(),
trade_type_count,
},
},
},
Expand Down

0 comments on commit 9e58659

Please sign in to comment.