Check out user_model
This commit is contained in:
parent
5b128371f1
commit
57812c56c3
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue