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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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?;