Skip to content

Commit b6c4052

Browse files
Merge pull request #5234 from OneCommunityGlobal/Sayali_Fix_PromotionEligibility_Frontend
Sayali: change promotion-eligibility API call from GET to POST to match …
2 parents ba0c814 + 0b89c64 commit b6c4052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/actions/promotionActions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import axios from 'axios';
22
import { ENDPOINTS } from '../utils/URL';
33

44
export const getPromotionEligibility = async () => {
5-
const res = await axios.get(ENDPOINTS.PROMOTION_ELIGIBILITY);
5+
const res = await axios.post(ENDPOINTS.PROMOTION_ELIGIBILITY, {});
66
return res.data;
77
};
88

0 commit comments

Comments
 (0)