oops
This commit is contained in:
parent
e3a91e6e1a
commit
af3cab86f3
1 changed files with 5 additions and 6 deletions
|
@ -66,12 +66,11 @@ export default class DiscordRPC {
|
|||
"url": imageurl
|
||||
},
|
||||
})
|
||||
.then((res) => res.json())
|
||||
.then(function (json) {
|
||||
self._attributes["artwork"]["url"] = json.imageUrl;
|
||||
self.setActivity(self._attributes);
|
||||
});
|
||||
}
|
||||
.then((res) => res.json())
|
||||
.then(function (json) {
|
||||
self._attributes["artwork"]["url"] = json.imageUrl;
|
||||
self.setActivity(self._attributes);
|
||||
});
|
||||
}
|
||||
});
|
||||
ipcMain.on("discordrpc:reload", (_event, configUpdate = null) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue