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:
authorAnna <anna@nextcloud.com>2022-04-14 13:51:22 +0300
committerGitHub <noreply@github.com>2022-04-14 13:51:22 +0300
commitf2ff7e3285ae722e5d14579cb32f35584ff651a4 (patch)
tree61fd182a21ee070d282892a95fb7fe5f4b52cf3e /src
parent1fa3a56a163dff693759e2f90c7660488f89e935 (diff)
parentf8db297e87e851498f6ea0f85b48c71ec51712d9 (diff)
Merge pull request #6217 from nextcloud/fix/account-setup-fetch-mailboxes
Fix mailbox fetching after creating an account
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) {