Now working it seems
This commit is contained in:
parent
364c7ff4c5
commit
2afe7935cc
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue