From f4820968ea6200688fd76d6f4cc09d47420348c1 Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Fri, 24 Jan 2020 21:25:25 -0500 Subject: [PATCH] adding proper return code for teapot --- thunix_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thunix_api.py b/thunix_api.py index ffb20f0..eaa80fb 100644 --- a/thunix_api.py +++ b/thunix_api.py @@ -85,7 +85,7 @@ def teapot(): "width": "stout" } ] - return jsonify(teapots) + return jsonify(teapots),418 app.run()