[local-sync] return as auth_token instead of token for N1

This commit is contained in:
Evan Morikawa 2016-11-23 12:35:28 -08:00
parent f98c38fef4
commit 60801262c7

View file

@ -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) => {