First injections

So since the day we brought our little girl home she has been asleep in bed by 8.30 pm and In The last 3 weeks she’s sleep from 8.30pm till 6-7 am. She had her first injections today and it’s 22.45 and I couldn’t bare to leave her grizzly in bed alone so she’s asleep on my chest. My nurse who did her injections told me not to give into her and cuddle her to sleep because it will ruin her bed time routine as she will learn quickly she will be picked up and not go to bed as easy. Did anyone else lay with their baby and not ruin their bedtime routine ? x