Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/service/AccountService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/AccountService.js b/src/service/AccountService.js
index cbd8b12f9..d9c1716cd 100644
--- a/src/service/AccountService.js
+++ b/src/service/AccountService.js
@@ -13,7 +13,7 @@ export const create = (data) => {
return axios
.post(url, data)
- .then((resp) => resp.data)
+ .then((resp) => resp.data.data)
.then(fixAccountId)
.catch((e) => {
if (e.response && e.response.status === 400) {