Skip to content

Commit

Permalink
Merge pull request #299 from rudderlabs/drip
Browse files Browse the repository at this point in the history
Drip - update
  • Loading branch information
arajguha authored Aug 10, 2021
2 parents 37005e0 + d8bd5d4 commit 8d6bb87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integrations/Drip/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ class Drip {

if (isDefinedAndNotNull(payload.revenue)) {
const cents = Math.round(payload.revenue * 100);
if (cents) payload.value = cents;
if (cents) {
payload.value = cents;
}

delete payload.revenue;
}
Expand Down

0 comments on commit 8d6bb87

Please sign in to comment.