Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Add coupon to s2s call
Browse files Browse the repository at this point in the history
  • Loading branch information
birdsarah committed May 27, 2022
1 parent 59187bf commit ff92c62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/cj/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ impl CJClient {
.append_pair(
"CUST_COUNTRY",
get_iso_code_3_from_iso_code_2(sub.country.as_ref().unwrap_or(&String::from(""))),
);
)
.append_pair("COUPON", sub.coupons.as_ref().unwrap_or(&String::from("")));
url_for_sub
}

Expand Down

0 comments on commit ff92c62

Please sign in to comment.