send update to amazon

This commit is contained in:
GotPPay
2017-12-03 17:38:58 +01:00
parent 74ee9de93f
commit 94d2883c01
6 changed files with 89 additions and 52 deletions

View File

@@ -17,7 +17,6 @@ export const deleteSkill = (id)=>{
}
export const updateSkill = (skill)=>{
console.log(skill);
let id = (skill._id) ? skill._id : -1;
let url = `http://${BASE_URL}/updateSkill/${id}`
return fetch(url, {