Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
znarf committed Feb 27, 2024
1 parent 0656db5 commit e5199d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/lib/payments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1321,9 +1321,10 @@ export const getHostFeeSharePercent = async (

const possibleValues = [];

if (isNil(order.platformTipEligible)) {
order.platformTipEligible = await isPlatformTipEligible(order);
}
// TODO: refetch platform tip eligibility properly or elsewhere in a way that doesn't affect tests
// if (isNil(order.platformTipEligible)) {
// order.platformTipEligible = await isPlatformTipEligible(order);
// }

const platformFee = await getPlatformFee(order);

Expand Down

0 comments on commit e5199d3

Please sign in to comment.