Commit 8531b61a authored by Dmitrij Tkačenko's avatar Dmitrij Tkačenko
Browse files

Refactor signin response

parent e955ccc4
......@@ -50,6 +50,7 @@ module.exports = {
home.profiles[credentials.profileId] = profile;
HomeService.setHome(home);
const {pin, ...result} = profile
result.profileId = credentials.profileId;
return result;
} else {
throw 'Pin missmatch!'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment