From 3a32c52f99c7f17f9186dc79b306e72764c54067 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Tue, 24 Mar 2020 11:51:18 -0300 Subject: [PATCH] Changes api call to values instead of value #17. --- src/views/admin/js/store/modules/item/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/admin/js/store/modules/item/actions.js b/src/views/admin/js/store/modules/item/actions.js index 00e9c1cf4..2f86308ce 100644 --- a/src/views/admin/js/store/modules/item/actions.js +++ b/src/views/admin/js/store/modules/item/actions.js @@ -2,7 +2,7 @@ import axios from '../../../axios'; // Actions related to Item's metadata export const updateItemMetadatum = ({ commit }, { item_id, metadatum_id, values, parent_meta_id }) => { - let body = { value: values } + let body = { values: values } if (parent_meta_id != undefined && parent_meta_id != null && parent_meta_id != false) body['parent_meta_id'] = parent_meta_id;