Now working it seems

This commit is contained in:
Micke Nordin 2024-01-17 15:05:03 +01:00
parent 364c7ff4c5
commit 2afe7935cc
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -172,10 +172,10 @@ hub:
class RefreshHandler(HubAuthenticated, RequestHandler):
@authenticated
# @authenticated
def get(self):
app_log.info(f"DEBUG: In refresh get {os.environ}")
user_model = self.get_current_user()
# app_log.info(f"DEBUG: In refresh get {os.environ}")
# user_model = self.get_current_user()
user_model = {'helloooooo': 'hej'}
self.set_header('content-type', 'application/json')
self.write(json.dumps(user_model, indent=1, sort_keys=True))