add cover to deck create/update

This commit is contained in:
andres
2023-07-16 14:59:03 +02:00
parent f2437db3b7
commit 2f1579ed48
5 changed files with 65 additions and 12 deletions

View File

@@ -125,6 +125,7 @@ export class DecksRepository {
throw new InternalServerErrorException(e?.message)
}
}
public async findDeckByCardId(cardId: string) {
try {
const card = await this.prisma.card.findUnique({