fix: collection creation & overview hover styles

This commit is contained in:
DecDuck
2025-01-28 17:01:34 +11:00
parent 006bc47c50
commit dd141bbfd5
6 changed files with 19 additions and 10 deletions
+4 -1
View File
@@ -78,7 +78,7 @@ class UserLibraryManager {
}
async collectionAdd(gameId: string, collectionId: string, userId: string) {
await prisma.collectionEntry.upsert({
return await prisma.collectionEntry.upsert({
where: {
collectionId_gameId: {
collectionId,
@@ -93,6 +93,9 @@ class UserLibraryManager {
gameId,
},
update: {},
include: {
game: true,
},
});
}