Almost the same thing happened to me a few months ago. First, the drone will probably have to be replace, luckily I had the insurance policy, which helped. Second, the battery was ruined, so I had to replace that as well. Third, luckily the SSD card survived, but since then it's been complaining it needs to be re-formatted, so I replaced it as well.
If it happened to me again, I would probably replace everything again.
Good luck.