From 336390d0947383faa15e034ea455d9b3d613ed54 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Tue, 12 May 2015 17:18:26 +0300 Subject: [PATCH] API: change ststus code on unfound user --- SE_API/API.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SE_API/API.py b/SE_API/API.py index e6382bc..aa2b33b 100644 --- a/SE_API/API.py +++ b/SE_API/API.py @@ -67,7 +67,7 @@ def getUserByToken(token): mimetype="application/json") # Real response! return Response(response=json.dumps({'message' : 'No User Found'}), - status=403, + status=400, mimetype="application/json")