Williams Rhapsody 2 pedal cable repair

The pins on the cable were broke when bought, how do I fix? Piano works great otherwise. Thanks in advance for any information you can supply.

We don’t have any experience with these keyboards, but if you could provide a pic of the part that needs fixing, we can probably offer some advice.