So someone gave me this pedal bc it didn't work and the only thing missing was one wire for the power and i replaced and now the thing lights up when it is activated but there is no sound, no matter where the settings are. When it is bypassed I get sound though.

Any thoughts on what it could be? I checked all the other wires and they look okay. Im thinking maybe the switch is bad? I would rather try a switch replacement before I re wire the whole thing....... Any thoughts? And does anyone know what kind of switch it has in it?