Skip to content

Commit 6e4ee66

Browse files
Fixed an error that I'm not even sure how it got through
1 parent 11a2a77 commit 6e4ee66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/renderer/api/CollectionAPI.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ const deleteCollection = async (collectionId, game, deleteFiles = false) => {
1515
};
1616

1717
const removeFromCollection = async (collectionId, game, videoId) => {
18-
return (collectionMap = await window.api.send('removeFromCollection', {
18+
return await window.api.send('removeFromCollection', {
1919
game,
2020
collectionId,
2121
videoId,
22-
}));
22+
});
2323
};
2424

2525
const addToCollection = async (collectionId, game, videoId) => {
26-
return (collectionMap = await window.api.send('addToCollection', {
26+
return await window.api.send('addToCollection', {
2727
game,
2828
collectionId,
2929
videoId,
30-
}));
30+
});
3131
};
3232

3333
export default {

0 commit comments

Comments
 (0)