Compare commits
8 Commits
v0.7.3-nex
...
2f36ba30f5
| Author | SHA1 | Date | |
|---|---|---|---|
|
2f36ba30f5
|
|||
|
56205fc0d5
|
|||
|
380d28a86e
|
|||
|
7f4adbdb9d
|
|||
|
194cd9e622
|
|||
|
25d2e38133
|
|||
|
6851fdfdde
|
|||
|
79758b2631
|
@@ -12,6 +12,7 @@ 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