Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dzlk17 committed Sep 24, 2024
1 parent 00c4f60 commit 6535b8d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions server/src/http/cloud/leave_team.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ use ts_rs::TS;
pub struct HttpLeaveTeamRequest {
#[garde(custom(custom_validate_team_id))]
pub team_id: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub device: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub browser: String,
}

Expand Down
4 changes: 2 additions & 2 deletions server/src/http/cloud/register/register_with_passkey_start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ use webauthn_rs::Webauthn;
pub struct HttpRegisterWithPasskeyStartRequest {
#[garde(email)]
pub email: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub device: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub browser: String,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ use ts_rs::TS;
pub struct HttpRegisterWithPasswordStartRequest {
#[garde(email)]
pub email: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub device: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub browser: String,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ use webauthn_rs::Webauthn;
pub struct HttpResetPasskeyStartRequest {
#[garde(email)]
pub email: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub device: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub browser: String,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ use ts_rs::TS;
pub struct HttpResetPasswordStartRequest {
#[garde(email)]
pub email: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub device: String,
#[garde(skip)]
#[garde(alphanumeric)]
pub browser: String,
}

Expand Down

0 comments on commit 6535b8d

Please sign in to comment.