bump: simodels
This commit is contained in:
3 files changed
+6
-6
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user