Esempio n. 1
0
 def get(self, jwt_payload=None):
     """Get list of all users."""
     LOGGER.debug({"JWT payload": jwt_payload})
     user_filter = {}
     users = User.get_all()
     users_json = [res.to_json() for res in users]
     return Success({"users": users_json}).to_json(), 200
Esempio n. 2
0
 def get(self):
     """Get list of all users."""
     user_filter = {}
     users = User.get_all()
     users_json = [res.to_json() for res in users]
     return Success({"users": users_json}).to_json(), 200