Save token at the end, in case it was refreshed

This commit is contained in:
Maxime Augier 2024-08-08 14:49:01 +02:00
parent d490970ab0
commit 0705966c2e

View File

@ -127,6 +127,8 @@ fn main() -> Result<()> {
}, },
} }
} }
std::fs::write(SAVED_TOKEN_PATH, ctx.save().as_bytes())?;
Ok(()) Ok(())
} }