Skip to content

Commit

Permalink
Merge pull request #12 from Deumjubukeo/origin/feature/s3
Browse files Browse the repository at this point in the history
Feature :: Fix Purchase Goods
  • Loading branch information
ftery0 authored Nov 30, 2024
2 parents 537bd66 + 010039f commit cb7ab13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goods/goods.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class GoodsService {
throw new NotFoundException('상품을 찾을 수 없습니다.');
}
const user = await this.userRepository.findOne({
where: { userId: userId },
where: { id: Number(userId) },
});
if (!user) {
throw new NotFoundException('사용자를 찾을 수 없습니다.');
Expand Down

0 comments on commit cb7ab13

Please sign in to comment.