diff --git a/embark-ui/src/services/api.js b/embark-ui/src/services/api.js index 50fab190d..a750059ce 100644 --- a/embark-ui/src/services/api.js +++ b/embark-ui/src/services/api.js @@ -29,7 +29,7 @@ function request(type, path, params = {}) { 'X-Embark-Cnonce': cnonce }, ...(type === 'post' ? { data: params } : {}), - ...(type === 'get' ? { params } : {}) + ...(type === 'get' ? { params: params.params } : {}) } return axios(req)