mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-18 20:59:28 +00:00
add cover to deck create/update
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user