Update soaricarus dependencies #13
@@ -151,7 +151,7 @@ pub mod endpoint {
|
|||||||
id: user.id,
|
id: user.id,
|
||||||
username: user.username.clone(),
|
username: user.username.clone(),
|
||||||
token: token_literal,
|
token: token_literal,
|
||||||
token_type: String::from(simodels::constants::token::TOKEN_TYPE),
|
token_type: simodels::constants::token::TOKEN_TYPE.to_string(),
|
||||||
expiration: duration,
|
expiration: duration,
|
||||||
}],
|
}],
|
||||||
}),
|
}),
|
||||||
@@ -203,7 +203,7 @@ pub mod endpoint {
|
|||||||
id,
|
id,
|
||||||
username,
|
username,
|
||||||
token: token_literal,
|
token: token_literal,
|
||||||
token_type: String::from(simodels::constants::token::TOKEN_TYPE),
|
token_type: simodels::constants::token::TOKEN_TYPE.to_string(),
|
||||||
expiration: duration,
|
expiration: duration,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -262,7 +262,8 @@ pub mod endpoint {
|
|||||||
id,
|
id,
|
||||||
token: access_token,
|
token: access_token,
|
||||||
expiration: exp_dur,
|
expiration: exp_dur,
|
||||||
token_type: String::from(simodels::constants::token::TOKEN_TYPE),
|
token_type: simodels::constants::token::TOKEN_TYPE
|
||||||
|
.to_string(),
|
||||||
username,
|
username,
|
||||||
};
|
};
|
||||||
response.message = String::from("Successful");
|
response.message = String::from("Successful");
|
||||||
|
|||||||
Reference in new issue
Block a user