Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
akashrpo committed Aug 10, 2021
1 parent 625b39f commit d8bd5d4
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 d8bd5d4

Please sign in to comment.