Allow users with no invites to be fetched from the API
This commit is contained in:
parent
b0eb692760
commit
4da3005b5c
2 changed files with 13 additions and 6 deletions
|
@ -229,6 +229,7 @@ async fn create_users(
|
|||
Ok(Json(users))
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct GetUsersWithNoInvites {
|
||||
invited_by_another_user: bool,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue