fix(provider/tracify): api bug

This commit is contained in:
Kevin Franklin Kim 2024-10-14 09:00:24 +02:00
parent 5c662b0d36
commit ab7644756b
No known key found for this signature in database

View File

@ -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);
@ -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;