From 3927f7e398a6e38d8b5a1b4f5ea2a8a94837645e Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 13 Jan 2016 12:48:11 +0100 Subject: [PATCH] Add missing return code. --- accountant/api/views/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")