From f4d19e7ba7b306c0323bdd216015b1dc6be52a63 Mon Sep 17 00:00:00 2001 From: Core Date: Sat, 15 Jan 2022 18:50:57 +0000 Subject: [PATCH] fix --- src/main/discordrpc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/discordrpc.js b/src/main/discordrpc.js index dfea5769..be9d302a 100644 --- a/src/main/discordrpc.js +++ b/src/main/discordrpc.js @@ -71,7 +71,7 @@ module.exports = { state: `by ${attributes.artistName}`, startTimestamp: attributes.startTime, endTimestamp: attributes.endTime, - largeImageKey: (attributes.artwork.url.replace('{w}', '1024').replace('{h}', '1024')) ? ? 'cider', + largeImageKey: (attributes.artwork.url.replace('{w}', '1024').replace('{h}', '1024')) ?? 'cider', largeImageText: attributes.albumName, smallImageKey: (attributes.status ? 'play' : 'pause'), smallImageText: (attributes.status ? 'Playing' : 'Paused'), @@ -139,4 +139,4 @@ module.exports = { } }, -} \ No newline at end of file +}