summaryrefslogtreecommitdiffstats
path: root/share/newton_base/openoapi/flavor.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/newton_base/openoapi/flavor.py')
-rw-r--r--share/newton_base/openoapi/flavor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/newton_base/openoapi/flavor.py b/share/newton_base/openoapi/flavor.py
index d922be8a..1124aec4 100644
--- a/share/newton_base/openoapi/flavor.py
+++ b/share/newton_base/openoapi/flavor.py
@@ -138,7 +138,7 @@ class Flavors(APIView):
logger.info("request returns with status %s" % resp.status_code)
if resp.status_code == status.HTTP_200_OK:
- logger.debug("with content:%s" % req_resouce)
+ logger.debug("with content:%s" % resp.json())
pass
return resp
@@ -163,7 +163,7 @@ class Flavors(APIView):
logger.info("request returns with status %s" % resp.status_code)
if resp.status_code == status.HTTP_200_OK:
- logger.debug("with content:%s" % req_resouce)
+ logger.debug("with content:%s" % resp.json())
pass
return resp