mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-14 00:31:25 +10:00
fix: collection creation & overview hover styles
This commit is contained in:
@ -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,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user