On multiple occasions, I had flown Mavic Pro in rain for 10-20 mins a time. Afterward the drone is kept powered on until battery dies. Never had an issue afterward.
You got lucky! Also rain water is basically distilled water therefore is much less conductive than salt water or water from a lake or river