mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
working with promo code
This commit is contained in:
@@ -370,7 +370,10 @@
|
||||
}
|
||||
};
|
||||
this.isLoading = true;
|
||||
return fetch('https://as1.api.voucherify.io/v1/vouchers/dummy2/redemption', {
|
||||
|
||||
let url = `https://as1.api.voucherify.io/v1/vouchers/${this.promoCode}/redemption`;
|
||||
|
||||
return fetch(url, {
|
||||
method: 'POST',
|
||||
responseType: 'json',
|
||||
body: promoRequestObj,
|
||||
|
||||
Reference in New Issue
Block a user