Save token at the end, in case it was refreshed
This commit is contained in:
parent
d490970ab0
commit
0705966c2e
@ -127,6 +127,8 @@ fn main() -> Result<()> {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
std::fs::write(SAVED_TOKEN_PATH, ctx.save().as_bytes())?;
|
||||
Ok(())
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user