Skip to content

Commit

Permalink
fix(discord): use track ID from metadata for song.link
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanccn committed Oct 6, 2023
1 parent 89af9e9 commit 0273e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/discord/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async fn update_presence(
Button::new("Listen on Apple Music", &metadata.share_url),
Button::new(
"View on SongLink",
&format!("https://song.link/i/{}", track.id),
&format!("https://song.link/i/{}", metadata.id),
),
]);
}
Expand Down

0 comments on commit 0273e12

Please sign in to comment.