diff options
| author | Xe Iaso <me@christine.website> | 2022-04-02 16:15:10 +0000 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-04-02 16:15:10 +0000 |
| commit | 1c8c3396a735bd373be417df2138607f0206b736 (patch) | |
| tree | 040c7807317b5286a01960a638fef9bb4e5ff9d1 /src/post | |
| parent | 0c0c5875e680ba5b76d79daddda0eed8d13e0726 (diff) | |
| download | xesite-1c8c3396a735bd373be417df2138607f0206b736.tar.xz xesite-1c8c3396a735bd373be417df2138607f0206b736.zip | |
lib/patreon: refresh token support
This should hopefully make the patrons page work consistently and no
longer require me to manually update the patreon token once per month.
Why didn't I do this age ago??????
Hacked up live on twitch: https://twitch.tv/princessxen
Closes #442
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'src/post')
| -rw-r--r-- | src/post/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/post/mod.rs b/src/post/mod.rs index 1cd7f92..a152bc9 100644 --- a/src/post/mod.rs +++ b/src/post/mod.rs @@ -36,7 +36,7 @@ impl Into<jsonfeed::Item> for Post { .date_published(self.date.to_rfc3339()) .author( jsonfeed::Author::new() - .name("Christine Dodrill") + .name("Xe Iaso") .url("https://christine.website") .avatar("https://christine.website/static/img/avatar.png"), ); @@ -83,8 +83,7 @@ impl Post { async fn read_post(dir: &str, fname: PathBuf, cli: &Option<mi::Client>) -> Result<Post> { debug!( - "loading {}/{}", - dir, + "loading {}", fname.clone().into_os_string().into_string().unwrap() ); |
