Formatting fixeS
soaricarus_auth Build / Rustfmt (pull_request) Successful in 21s
soaricarus_auth Build / Test Suite (pull_request) Successful in 39s
soaricarus_auth Build / Check (pull_request) Successful in 1m31s
soaricarus_auth Build / Clippy (pull_request) Successful in 1m37s
soaricarus_auth Build / build (pull_request) Successful in 1m49s
soaricarus_auth Build / Rustfmt (pull_request) Successful in 21s
soaricarus_auth Build / Test Suite (pull_request) Successful in 39s
soaricarus_auth Build / Check (pull_request) Successful in 1m31s
soaricarus_auth Build / Clippy (pull_request) Successful in 1m37s
soaricarus_auth Build / build (pull_request) Successful in 1m49s
This commit is contained in:
1 file changed
+4
-3
@@ -151,7 +151,7 @@ pub mod endpoint {
|
||||
id: user.id,
|
||||
username: user.username.clone(),
|
||||
token: token_literal,
|
||||
token_type: String::from(simodels::constants::token::TOKEN_TYPE),
|
||||
token_type: simodels::constants::token::TOKEN_TYPE.to_string(),
|
||||
expiration: duration,
|
||||
}],
|
||||
}),
|
||||
@@ -203,7 +203,7 @@ pub mod endpoint {
|
||||
id,
|
||||
username,
|
||||
token: token_literal,
|
||||
token_type: String::from(simodels::constants::token::TOKEN_TYPE),
|
||||
token_type: simodels::constants::token::TOKEN_TYPE.to_string(),
|
||||
expiration: duration,
|
||||
};
|
||||
|
||||
@@ -262,7 +262,8 @@ pub mod endpoint {
|
||||
id,
|
||||
token: access_token,
|
||||
expiration: exp_dur,
|
||||
token_type: String::from(simodels::constants::token::TOKEN_TYPE),
|
||||
token_type: simodels::constants::token::TOKEN_TYPE
|
||||
.to_string(),
|
||||
username,
|
||||
};
|
||||
response.message = String::from("Successful");
|
||||
|
||||
Reference in new issue
Block a user