From 80a64b2c5dde44c70acefa782819d44dd3e7243b Mon Sep 17 00:00:00 2001 From: phoenix Date: Thu, 5 Nov 2026 15:19:24 -0500 Subject: [PATCH] bump: simodels --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/callers/login.rs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cd6d1bb..ea40b84 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1497,8 +1497,8 @@ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" [[package]] name = "simodels" -version = "0.11.7" -source = "git+ssh://git@git.kundeng.us/phoenix/simodels.git?tag=v0.11.7#6022347cb762b413bb59b975619577a45d26383f" +version = "0.11.9" +source = "git+ssh://git@git.kundeng.us/phoenix/simodels.git?tag=v0.11.9-9-1d433831a2-111#1d433831a25d37b2bb235f28373ffc164a1dfa6d" dependencies = [ "josekit", "rand", diff --git a/Cargo.toml b/Cargo.toml index a5f3573..3913ff2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ josekit = { version = "0.10.3" } utoipa = { version = "6.0.0", features = ["axum_extras", "uuid", "time"] } utoipa-swagger-ui = { version = "10.0.2", features = ["axum"] } rand = { version = "0.10.3" } -simodels = { git = "ssh://git@git.kundeng.us/phoenix/simodels.git", tag = "v0.11.7" } +simodels = { git = "ssh://git@git.kundeng.us/phoenix/simodels.git", tag = "v0.11.9-9-1d433831a2-111", features = ["auth"] } sienvy = { git = "ssh://git@git.kundeng.us/phoenix/sienvy.git", tag = "v0.8.3" } [dev-dependencies] diff --git a/src/callers/login.rs b/src/callers/login.rs index 2d4dc98..649c2c1 100644 --- a/src/callers/login.rs +++ b/src/callers/login.rs @@ -151,7 +151,7 @@ pub mod endpoint { id: user.id, username: user.username.clone(), token: token_literal, - token_type: String::from(simodels::token::TOKEN_TYPE), + token_type: String::from(simodels::constants::token::TOKEN_TYPE), expiration: duration, }], }), @@ -203,7 +203,7 @@ pub mod endpoint { id, username, token: token_literal, - token_type: String::from(simodels::token::TOKEN_TYPE), + token_type: String::from(simodels::constants::token::TOKEN_TYPE), expiration: duration, }; @@ -262,7 +262,7 @@ pub mod endpoint { id, token: access_token, expiration: exp_dur, - token_type: String::from(simodels::token::TOKEN_TYPE), + token_type: String::from(simodels::constants::token::TOKEN_TYPE), username, }; response.message = String::from("Successful");