A 1 min bath to wash off some poop is fine, I'm sure no harm was done. As Faith.luu said though, soaking is generally stressful for snakes and should be avoided unless a) the snake has stuck shed (they started to shed but not all of it came off) and is dehydrated b) the snake is constipated and showing signs of "sausage butt"
If you ever do need to soak your snake, ensure that the temperature of the water is around 85F and doesn't get higher than 89F or lower than 80F so it's comfortable for your snake. It can also help to give the snake a rock or a towel to hang onto while soaking them as the sensation of losing traction in a smooth tub and water can be stressful for them.
I think it's also okay to give snakes a quick wash if they've gotten themselves into poop...etc. but it might be more effective to wipe them off with a damp paper towel in that case.