From 0fdc63cea4def3f89688a6d09702e8a50c82677e Mon Sep 17 00:00:00 2001 From: jedi Date: Mon, 23 Dec 2019 22:21:21 +0100 Subject: [PATCH] revert hacky fix --- src/store/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index c016af8..6883c73 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -92,7 +92,6 @@ const store = new Vuex.Store({ let file = new File([blob], 'dot.png', blob); delete item.dataImage; item.image = file; - item.cid = item.cid || 1; var formData = new FormData(); for ( var key in item ) formData.append(key, item[key]); const { data } = await axios.post(`/1/${getters.getEventSlug}/item`, formData, {