Did you get a Permit for that modification?
Be honest.
Most jurisdictions don’t allow bedroom egress through an adjoining room, and that bathroom is an adjoining room.
It can actually be done.
That is, no windows.
And legally.
But it requires just a few extra steps such as engineering, sprinklers, and approved fire egress plans. Such as: