Fix to naming of JSON

This commit is contained in:
Finn 2017-07-26 15:55:39 +01:00
parent 1d782a4e84
commit dfa1ba11f0

View file

@ -84,8 +84,8 @@ sub post_login {
success => Mojo::JSON->true,
session_key => $session_key,
full_name => $user_result->('full_name'),
full_name => $user_result->('display_name'),
full_name => $user_result->('postcode'),
display_name => $user_result->('display_name'),
postcode => $user_result->('postcode'),
});
}
}