chore: Prettified Code
[ci skip]
This commit is contained in:
parent
d2d32556e8
commit
c666a76d5c
1 changed files with 1 additions and 2 deletions
|
@ -101,10 +101,9 @@ export default class playbackNotifications {
|
|||
const dest = createWriteStream(join(app.getPath("temp"), `${a.songId}-${a.artwork.url.split("/").pop()}`));
|
||||
// @ts-ignore
|
||||
let stream = res.body.pipe(dest);
|
||||
stream.on('finish', () =>{
|
||||
stream.on("finish", () => {
|
||||
this.createNotification(a);
|
||||
});
|
||||
|
||||
});
|
||||
} else {
|
||||
fetch(a.artwork.url).then(async (blob) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue