Daughter making herself throw up to get out of bedtime.

My one year old has been making herself throw up at night so she can stay up longer. She just turned one a few days ago idk how she knows to do this. First she will throw her binky and baba out of her crib so I have to go in her room and give them back to her and I lay her back down so if that doesn’t work she sits and gags herself until she throws up cause she knows I’ll have to go change her outfit and change her bedding. this has been going on for like 3 weeks. WHAT DO I DO