Skip to content

Commit bde6c74

Browse files
authored
Merge pull request #181 from umc-commit/bug/180-chatroom-thumbnail
[BUG] 채팅방 썸네일 오류
2 parents a31bc03 + 7b19793 commit bde6c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commission/repository/commission.repository.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const CommissionRepository = {
7171
async findImagesByCommissionIds(commissionIds) {
7272
return await prisma.image.findMany({
7373
where: {
74-
target: 'commissions',
74+
target: 'commission',
7575
targetId: { in: commissionIds }, // 배열 처리
7676
},
7777
orderBy: { orderIndex: 'asc' },

0 commit comments

Comments
 (0)