Sleeping

My baby won't sleep in her Moses basket, I end up with her sleeping on my chest during the night to get some sleep, what helped others overcome this? Thanks