Liquid damage is pretty unpredictable. It’s possible the data will still be recoverable even though it was powered on shortly after the damage, but no one can say for certain without looking at the machine. It would be best to open the bottom panel and leave the machine in open air to dry. Then inspect the interior for signs of corrosion.
If there is corrosion internally your options are to clean the board or take the machine into a shop for repairs. I don’t recommend attempting to clean the board yourself unless you have a lot of experience doing so.
If there is no corrosion after drying the machine, attempt to power it on. If it powers on, try to backup all of the user data to an external drive.
Hope this helps!