Updated on 2026-08-14
This commit is contained in:
parent
f7b0479994
commit
e86de005bf
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ class ReferralConverter @Inject constructor() : Converter<ReferralResponse, Refe
|
|||
val tokenConverter = TokenConverter()
|
||||
return if (referral != null) {
|
||||
ReferralData.ParticipantData(
|
||||
award = conditions.award,
|
||||
award = conditions.awards.firstOrNull()?.amount ?: conditions.award,
|
||||
discount = conditions.discount.amount,
|
||||
discountType = safeValueOf(conditions.discount.discountType.uppercase(), DiscountType.PERCENTAGE),
|
||||
tosLink = conditions.tosLink,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue