Merge pull request #129 from mariusbegby/thumbnail-fix

fix: Fixed error when no thumbnail available
This commit is contained in:
Marius Begby authored and GitHub committed 2023-07-27 15:05:04 +02:00
commit 7c43daeb9b
1 file changed
+1 -1
+1 -1
View File
@@ -237,7 +237,7 @@ module.exports = {
});
}
if (track.source === 'arbitrary') {
if (track.source === 'arbitrary' || !track.thumnail) {
track.thumbnail =
'https://raw.githubusercontent.com/mariusbegby/cadence-discord-bot/main/assets/logo-rounded-128px.png';
}