Door connector wiring

Hi guys, my drivers side door lock switch is intermittent but works if i move/wiggle the connector between the door and the main body, anyone know which pins in the connector it goes through or have a wiring diagram? Everything else is working fine so I guess it's corrosion or a dodgy connection?

Thanks!