Skip to content

Commit

Permalink
fix: retrieveInfoReq action
Browse files Browse the repository at this point in the history
  • Loading branch information
RadovanTomik committed Aug 18, 2024
1 parent a4034d2 commit 3ca7a54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,9 @@ export default {
},
async retrieveInfoRequirement ({ state }, { link }) {
return axios.get(`${link}`, { headers: getBearerHeaders(state.oidc.access_token) })
.then((response) => {
return response.data
})
.catch(() => {
commit("setNotification", "Error getting Info Requirements data from server")
})
Expand Down

0 comments on commit 3ca7a54

Please sign in to comment.