Flipsky 6384 broken cable

Hello, I found a cable snapped and I would like to fix and use this motor again.
I tried to solder a new cable but it is impossible.
Do you have advices?
I tried to open the motor but the stator is covered with resin and I can’t see tha cable