Skip to content

Commit

Permalink
fix: use the chapter og thumbnail
Browse files Browse the repository at this point in the history
didn't know it existed!
  • Loading branch information
j1nxie committed Jan 11, 2025
1 parent ada6223 commit 6c007bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chapter_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ pub async fn chapter_tracker(http: &Http, data: &Data) -> Result<(), Error> {
.url(format!("https://mangadex.org/chapter/{}", chapter.id))
.description(vol_chap_str)
.image(format!(
"https://og.mangadex.org/og-image/manga/{}",
manga_id
"https://og.mangadex.org/og-image/chapter/{}",
chapter.id
));

if let Some(timestamp) = chapter_data.publish_at {
Expand Down

0 comments on commit 6c007bf

Please sign in to comment.