Skip to content

Commit e4ec63c

Browse files
committed
컨텐츠 생성시 유저 컨텐츠 보상의 판매 가능 여부가 제대로 설정되지 않는 문제 수정
1 parent b8df2de commit e4ec63c

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend/src/content/mutation/content-create.mutation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export class ContentCreateMutation {
141141
contentRewardId: reward.id,
142142
averageQuantity: reward.defaultAverageQuantity,
143143
userId: user.id,
144+
isSellable: reward.isSellable,
144145
})),
145146
});
146147

src/backend/src/user/service/user-content.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ export class UserContentService {
142142
},
143143
) {
144144
const userId = this.getUserId();
145-
146145
if (userId) {
147146
const userRewards = await this.prisma.userContentReward.findMany({
148147
where: {

0 commit comments

Comments
 (0)