Skip to content

Commit

Permalink
KPMP-1884: Do something with the error and response
Browse files Browse the repository at this point in the history
  • Loading branch information
zwright committed Jul 2, 2020
1 parent d66235a commit f6d6527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/Packages/packageActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export const movePackageFiles = (packageId) => {
return (dispatch) => {
api.post('/api/v1/packages/' + packageId + '/files/move')
.then(res => {
console.log(res)
alert(res.data);
})
.catch(err => {
console.log(err);
alert(err);
});
}
}
Expand Down

0 comments on commit f6d6527

Please sign in to comment.