diff --git a/src/renderer/store/TimelineSpace/Contents/Lists/Edit.js b/src/renderer/store/TimelineSpace/Contents/Lists/Edit.js index e29b6ef7..b4d27565 100644 --- a/src/renderer/store/TimelineSpace/Contents/Lists/Edit.js +++ b/src/renderer/store/TimelineSpace/Contents/Lists/Edit.js @@ -19,8 +19,8 @@ export default { return client.get(`/lists/${listId}/accounts`, { limit: 0 }) - .then((data) => { - commit('changeMembers', data) + .then((res) => { + commit('changeMembers', res.data) }) }, removeAccount ({ rootState }, obj) { diff --git a/src/renderer/store/TimelineSpace/Contents/Lists/Index.js b/src/renderer/store/TimelineSpace/Contents/Lists/Index.js index ca13ca22..01ef12b0 100644 --- a/src/renderer/store/TimelineSpace/Contents/Lists/Index.js +++ b/src/renderer/store/TimelineSpace/Contents/Lists/Index.js @@ -17,9 +17,9 @@ export default { rootState.TimelineSpace.account.baseURL + '/api/v1' ) return client.get('/lists') - .then((data) => { - commit('changeLists', data) - return data + .then((res) => { + commit('changeLists', res.data) + return res.data }) }, createList ({ rootState }, title) {