Allow users with no invites to be fetched from the API

This commit is contained in:
Nathan Sobo 2022-06-24 09:57:52 -06:00
parent b0eb692760
commit 4da3005b5c
2 changed files with 13 additions and 6 deletions

View file

@ -229,6 +229,7 @@ async fn create_users(
Ok(Json(users))
}
#[derive(Debug, Deserialize)]
struct GetUsersWithNoInvites {
invited_by_another_user: bool,
}