Fixed indentation error in mediateInvite method