From d1926a7ac7ef01ef5d883400c921c8bd0c3f83a2 Mon Sep 17 00:00:00 2001 From: cryptofyre Date: Thu, 27 Oct 2022 05:07:46 +0000 Subject: [PATCH] chore: Prettified Code [ci skip] --- src/main/plugins/discordrpc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/plugins/discordrpc.ts b/src/main/plugins/discordrpc.ts index 1006459b..352a31c8 100644 --- a/src/main/plugins/discordrpc.ts +++ b/src/main/plugins/discordrpc.ts @@ -68,7 +68,7 @@ export default class DiscordRPC { }) .then((res) => res.json()) .then(function (json) { - self._attributes["artwork"]["url"] = "https://images.weserv.nl/?url="+json.imageUrl+"&w=600&h=600&output=jpg"; // Image Caching Proxy to prevent Discord from going haha no. + self._attributes["artwork"]["url"] = "https://images.weserv.nl/?url=" + json.imageUrl + "&w=600&h=600&output=jpg"; // Image Caching Proxy to prevent Discord from going haha no. self.setActivity(self._attributes); }); }