We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba0c814 + 0b89c64 commit b6c4052Copy full SHA for b6c4052
1 file changed
src/actions/promotionActions.js
@@ -2,7 +2,7 @@ import axios from 'axios';
2
import { ENDPOINTS } from '../utils/URL';
3
4
export const getPromotionEligibility = async () => {
5
- const res = await axios.get(ENDPOINTS.PROMOTION_ELIGIBILITY);
+ const res = await axios.post(ENDPOINTS.PROMOTION_ELIGIBILITY, {});
6
return res.data;
7
};
8
0 commit comments