Skip to content

Commit

Permalink
Fix POST tiers for programme association
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaetanbrl committed Dec 7, 2021
1 parent e6673fd commit 169ab82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/extension/api/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export function getTypesTiers() {

// associate tier
export function associateFeatureTier(type, id, idTier, idType) {
return axios.post(`${baseURL}/${type}/${id}/tiers`, {
return axios.post(`${baseURL}/${type}/${id}/tiers?tiersId=${idTier}&typeTiersId=${idType}`, {
tiersId: idTier,
typeTiersId: idType
});
Expand Down

0 comments on commit 169ab82

Please sign in to comment.