If you want to stick to the color convention, yes. The electrons don't much care
Do I need to take it back apart and rewire
I think you should at least remove the switch and put some blk tape on the blk wire. Generally the white will have the tape to indicate it's the hot in a switch loop.
For anyone in the future that accesses that switch.
The Following User Says Thank You to sublime2 For This Useful Post: