Please help- How do I keep my rotation after an animation plays?

I have an L shaped hallway, and at the end you go through a door that puts you back at the beginning. But when the player finishes the “door opening” animation, the player snaps 90 degrees to the left (because that’s the direction the camera was facing when the animation was triggered. How can I stop

If needed, I can provide a video.

The animation is attached to the FPS controller, which is the parent of the camera, if that helps.