mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
@@ -420,6 +420,7 @@ class UserTokenListAPIHandler(APIHandler):
|
||||
# retrieve the model
|
||||
token_model = self.token_model(orm.APIToken.find(self.db, api_token))
|
||||
token_model['token'] = api_token
|
||||
self.set_status(201)
|
||||
self.write(json.dumps(token_model))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user