Fix revocation of invites, allow for /user_id/teams to be useful

This commit is contained in:
Geometrically
2020-12-27 18:50:10 -07:00
parent 833cb99f41
commit 8c1688657a
4 changed files with 16 additions and 1 deletions

View File

@@ -45,6 +45,8 @@ impl Default for Permissions {
/// A member of a team
#[derive(Serialize, Deserialize, Clone)]
pub struct TeamMember {
/// The ID of the team this team member is a member of
pub team_id: TeamId,
/// The ID of the user associated with the member
pub user_id: UserId,
/// The role of the user in the team