tsk-71: Add token expiration checks #78
@@ -14,7 +14,7 @@ pub struct LoginResult {
|
|||||||
|
|
||||||
|
|
||||||
impl LoginResult {
|
impl LoginResult {
|
||||||
pub fn _to_json(&self) -> Result<String, serde_json::Error> {
|
pub fn to_json(&self) -> Result<String, serde_json::Error> {
|
||||||
serde_json::to_string_pretty(&self)
|
serde_json::to_string_pretty(&self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user