Fix invites failing (#116)

This commit is contained in:
Geometrically
2020-12-26 12:13:09 -07:00
committed by GitHub
parent f0b73fd696
commit 9b31ce83c5

View File

@@ -154,7 +154,7 @@ pub async fn add_team_member(
}
let request = crate::database::models::team_item::TeamMember::get_from_user_id_pending(
team_id,
member.user_id,
new_member.user_id.into(),
&**pool,
)
.await?;