[fix-team-invitation] Ensure that we parse the team invitation correctly when the created by and accepted by is not given.
Merge branch 'fix-team-invitation'