Return 200 should be done without Response fix

This commit is contained in:
Kikimanox
2022-10-24 18:54:39 +02:00
parent e95d534e78
commit fe6120fb18
2 changed files with 16 additions and 13 deletions
@@ -60,7 +60,7 @@ def do_izlusci(conllus, prepovedane_besede):
]}
except:
return Response(data, 400)
return Response(ret, 200)
return ret, 200
except Exception as e:
return Response(str(e), 500)