Upvote:3
That should be an issue between the airlines, and spelled out in the contract they made with each other. It could be anything - whatever they decided to contract on.
Either way, it should not be your problem - whoever took your money is responsible for fulfilling the contract with you - or pay it back.