Add missing return code.

Alexis Lahouze committed 2016-01-13 12:48:11 +01:00
1 parent 2cccb07c3d
commit 3927f7e398
1 file changed
+1 -1
+1 -1
@@ -123,7 +123,7 @@ class LoginResource(Resource):
@requires_auth @requires_auth
@marshal_with_field(Object(user_resource_fields)) @marshal_with_field(Object(user_resource_fields))
def get(self): def get(self):
return g.user return g.user, 200
api.add_resource(LoginResource, "/user/login") api.add_resource(LoginResource, "/user/login")