Skip to content

Commit

Permalink
fix: typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala committed Sep 17, 2024
1 parent be8dce2 commit de8eac1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/modules/analytics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ import {

// check if the buyer in a sale was a third party provider (to pay with credit card, cross chain, etc)
export function isThirdPartySale(buyer: string): boolean {
switch (buyer) {
case '0xed038688ecf1193f8d9717eb3930f0bf0d745cb4': // TRANSAK POLYGON
case '0xea749fd6ba492dbc14c24fe8a3d08769229b896c': // AXELAR POLYGON & ETHEREUM
return true
if (buyer == '0xed038688ecf1193f8d9717eb3930f0bf0d745cb4' || buyer == '0xea749fd6ba492dbc14c24fe8a3d08769229b896c') {
return true
}
return false
}
Expand Down

0 comments on commit de8eac1

Please sign in to comment.