Soldering advice

Hi, I have some micro fairy lights that are broken - the wire has come out of the battery pack and was wondering if someone could just give us a pointer as to where it should be soldered? confident using soldering iron myself just need to make sure i’m doing it in the right place!

thanks in advance!