Skip to content

Commit 4f161b8

Browse files
committed
fix From impl
1 parent 9a5a374 commit 4f161b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ impl From<crate::openapi::models::model_404_error::Model404Error> for Error {
170170
impl From<crate::openapi::models::model_409_error::Model409Error> for Error {
171171
fn from(e: crate::openapi::models::model_409_error::Model409Error) -> Self {
172172
match e.code {
173-
crate::openapi::models::model_409_error::Code::HasNoPasskeys => {
173+
crate::openapi::models::model_409_error::Code::UserHasNoPasskeys => {
174174
Error::UserHasNoPasskeys
175175
}
176176
_ => Error::Other(e.error),

0 commit comments

Comments
 (0)