Commit c7d8de87 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds releases image

parent 5a9613f0
......@@ -22,10 +22,7 @@ export const fetchReleases = ({ dispatch }, projectId) => {
api
.releases(projectId)
.then(({ data }) => dispatch('receiveReleasesSuccess', data))
.catch(error => {
console.log(error);
dispatch('receiveReleasesError');
});
.catch(() => dispatch('receiveReleasesError'));
};
export const receiveReleasesSuccess = ({ commit }, data) =>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment