Here, "pandered" means to try to please someone by giving them what they want, even if it's not what's best for them.
Here are a few other examples:
* The movie pandered to the audience's desire for violence and explosions.
* She pandered to her boss by agreeing with everything he said.
* The restaurant pandered to the tourist crowd by offering overpriced and mediocre food.
Keep in mind that "pander" often has a negative connotation, suggesting that someone is being manipulative or insincere.