diff --git a/src/components/ItemComponents/NewItemForm.vue b/src/components/ItemComponents/NewItemForm.vue index e4d1a493510864e78a670bff25f61c2461b29d14..4471c196212e5c4c47cd2cbafcecaefa2e9b5aed 100644 --- a/src/components/ItemComponents/NewItemForm.vue +++ b/src/components/ItemComponents/NewItemForm.vue @@ -360,10 +360,6 @@ export default { const id = await postNewImageCommunity(res); const API_URL = process.env.VUE_APP_BASEURL; - console.log(id); - console.log(API_URL + "images/" + id); - - //Not sure if this will work that.item.imagesToSend.push(API_URL + "images/" + id); }; diff --git a/src/utils/apiutil.js b/src/utils/apiutil.js index 94221032becec82269c8a9de7473bdb4fb4831c4..4887f9bd6c1e963c2ef1564ed0b4e3e6c87ee213 100644 --- a/src/utils/apiutil.js +++ b/src/utils/apiutil.js @@ -332,7 +332,6 @@ export function postNewImageCommunity(image) { headers: { ...tokenHeader(), "Content-Type": "image/png" }, }) .then((response) => { - console.log(response.data); return response.data; }) .catch((error) => {