fix: collection creation & overview hover styles

This commit is contained in:
DecDuck
2025-01-28 17:01:34 +11:00
parent 42ebbf2922
commit 6317ad2657
6 changed files with 19 additions and 10 deletions

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,
},
});
}