Now working it seems
This commit is contained in:
parent
364c7ff4c5
commit
2afe7935cc
|
@ -172,10 +172,10 @@ hub:
|
||||||
|
|
||||||
|
|
||||||
class RefreshHandler(HubAuthenticated, RequestHandler):
|
class RefreshHandler(HubAuthenticated, RequestHandler):
|
||||||
@authenticated
|
# @authenticated
|
||||||
def get(self):
|
def get(self):
|
||||||
app_log.info(f"DEBUG: In refresh get {os.environ}")
|
# app_log.info(f"DEBUG: In refresh get {os.environ}")
|
||||||
user_model = self.get_current_user()
|
# user_model = self.get_current_user()
|
||||||
user_model = {'helloooooo': 'hej'}
|
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))
|
||||||
|
|
Loading…
Reference in a new issue