Check out user_model

This commit is contained in:
Micke Nordin 2024-01-18 10:18:44 +01:00
parent 5b128371f1
commit 57812c56c3
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

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