We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22be7b6 commit ac853f9Copy full SHA for ac853f9
1 file changed
apps/commerce-api/src/main/java/com/loopers/domain/point/PointService.java
@@ -18,7 +18,7 @@ public Point createPoint(String userId) {
18
if (pointRepository.existsByUserId(userId)) {
19
throw new CoreException(ErrorType.CONFLICT, "이미 포인트가 존재하는 사용자입니다.");
20
}
21
- Point point = Point.create(userId, null);
+ Point point = Point.create(userId);
22
return pointRepository.save(point);
23
24
0 commit comments