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