Amy Schumer has tweeted out an apology for a racially charged joke she told about Hispanic men.

Twitter users Martine Joelle and Feminista Jones called out the comedian for telling this joke: "I used to date Hispanic guys, but now I prefer consensual."

Schumer, who stars in the sketch series Inside Amy Schumer, responded to Joelle's tweet with a message of her own, explaining that she wrote the joke two years ago, and has since stopped telling it.

"Once I realized I had more eyes and ears on me and had an influence I stopped telling jokes like that onstage," she writes.

The apology comes on the heels of Schumer defending herself against a recent Guardian article that said the comedian has a "shockingly large blind spot around race." Though Schumer is known for her staunchly feminist Comedy Central series, she has stumbled when it comes to jokes about race.

She's previously made jokes such as “Nothing works 100% of the time, except Mexicans" and has joked about Latina women being "crazy," the Guardian notes.

"Her jokes target a primarily white audience, often at the expense of people of color," Anne Thériault writes in a critique of the comedian for The Daily Dot.

Schumer responded to the criticism by posting a note on Twitter.

“You can call it a ‘blind spot for racism’ or ‘lazy’ but you are wrong. It is a joke and it is funny. I know that because people laugh at it,” she wrote.

Put down your torches before reading this so you don't catch on fire. pic.twitter.com/JyRQGvFuX8 — Amy Schumer (@amyschumer) June 28, 2015

Some viewed Schumer's tweet as a missed opportunity to acknowledge what could be construed as racial insensitivity.

"The response is disheartening for those who’ve been cheering Schumer’s ascendance," E. Alex Jung writes for Slate. "Her weekly injections of humor are at once topical and deft, feminist without feeling didactic — the exact opposite of her response."

Judging by her recent apology, Schumer seems to be trying a different approach these days. Whether or not it impacts her actual comedy remains to be seen.