Added todo for future PR

This commit is contained in:
0mar
2021-04-20 11:04:04 +02:00
parent 46e2f72fa6
commit ef1351b441

View File

@@ -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):