Minor fix

This commit is contained in:
Dion Moult
2021-08-06 16:44:47 +10:00
parent 62c5efe591
commit 07bf60819a
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -132,8 +132,8 @@ def foundation_auth():
"oauth2_token_url": "http://127.0.0.1:5000/oauth/token",
"supported_oauth2_flows": ["authorization_code"],
}
response = website_obj.response_class(
data=json.dumps(data), status=200, mimetype="application/json"
response = app.response_class(
response=json.dumps(data), status=200, mimetype="application/json"
)
return response
@@ -161,8 +161,8 @@ def foundation_versions():
},
]
}
response = website_obj.response_class(
data=json.dumps(Body), status=200, mimetype="application/json"
response = app.response_class(
response=json.dumps(Body), status=200, mimetype="application/json"
)
return response