mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
@@ -248,7 +248,7 @@ export default {
|
||||
});
|
||||
},
|
||||
async applyCoupon (coupon) {
|
||||
const response = await axios.post(`/api/v3/coupons/validate/${coupon}`);
|
||||
const response = await axios.post(`/api/v4/coupons/validate/${coupon}`);
|
||||
|
||||
if (!response.data.data.valid) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user