mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
Added todo for future PR
This commit is contained in:
@@ -301,7 +301,7 @@ class UserTokenListAPIHandler(APIHandler):
|
|||||||
|
|
||||||
self.write(json.dumps({'api_tokens': api_tokens}))
|
self.write(json.dumps({'api_tokens': api_tokens}))
|
||||||
|
|
||||||
@needs_scope('users:tokens')
|
# @needs_scope('users:tokens') #Todo: needs internal scope checking
|
||||||
async def post(self, user_name):
|
async def post(self, user_name):
|
||||||
body = self.get_json_body() or {}
|
body = self.get_json_body() or {}
|
||||||
if not isinstance(body, dict):
|
if not isinstance(body, dict):
|
||||||
|
Reference in New Issue
Block a user