mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-14 00:24:33 +08:00
[local-sync] return as auth_token instead of token for N1
This commit is contained in:
parent
f98c38fef4
commit
60801262c7
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ module.exports = (server) => {
|
||||||
})
|
})
|
||||||
.then(({account, token}) => {
|
.then(({account, token}) => {
|
||||||
const response = account.toJSON();
|
const response = account.toJSON();
|
||||||
response.token = token.value;
|
response.auth_token = token.value;
|
||||||
reply(Serialization.jsonStringify(response));
|
reply(Serialization.jsonStringify(response));
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue