diff --git a/accountant/api/views/users.py b/accountant/api/views/users.py index 187d73b..d1593eb 100644 --- a/accountant/api/views/users.py +++ b/accountant/api/views/users.py @@ -123,7 +123,7 @@ class LoginResource(Resource): @requires_auth @marshal_with_field(Object(user_resource_fields)) def get(self): - return g.user + return g.user, 200 api.add_resource(LoginResource, "/user/login")