Skip to content

Commit

Permalink
Merge pull request #57 from foomo/tracify-api-bug
Browse files Browse the repository at this point in the history
fix(provider/tracify): api bug
  • Loading branch information
franklinkim authored Oct 14, 2024
2 parents 5c662b0 + ab76447 commit 0273ac0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/provider/tracify/server/template/tracifytagdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ function mapEventData() {
origin: url.hostname,
order_id: makeString(eventData.transaction_id),
currency: eventData.currency,
cc: eventData.currency, // required due to API bug
amount: amount(eventData.value),
};
event.data = mapItems(eventData.items || [], event.data);
Expand All @@ -245,6 +246,7 @@ function mapEventData() {
origin: url.hostname,
conversion_id: makeString(eventData.transaction_id),
currency: eventData.currency,
cc: eventData.currency, // required due to API bug
value: amount(eventData.value),
};
break;
Expand Down

0 comments on commit 0273ac0

Please sign in to comment.