Check out user_model
This commit is contained in:
parent
5b128371f1
commit
57812c56c3
|
@ -180,9 +180,8 @@ hub:
|
|||
class RefreshHandler(HubAuthenticated, RequestHandler):
|
||||
@authenticated
|
||||
def get(self):
|
||||
my_debug(f"DEBUG: In refresh get")
|
||||
# user_model = self.get_current_user()
|
||||
user_model = {'helloooooo': 'hej'}
|
||||
user_model = self.get_current_user()
|
||||
my_debug(f"DEBUG: In refresh get {user_model}")
|
||||
self.set_header('content-type', 'application/json')
|
||||
self.write(json.dumps(user_model, indent=1, sort_keys=True))
|
||||
|
||||
|
|
Loading…
Reference in a new issue