Skip to content

Commit

Permalink
🔨 refactor: 간단한 네이밍 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
choihuk committed Mar 25, 2024
1 parent c9b8ddf commit a103312
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public ResponseEntity<Integer> addGptGeneratorContent(
@AuthUser JwtTokenInfo jwtTokenInfo,
@RequestParam(value = "reputation", required = false, defaultValue = "1") Long reputation
) {
int added = LongStream.range(0, reputation).
int addedCount = LongStream.range(0, reputation).
mapToObj(i -> adminService.addGptGeneratorContent(jwtTokenInfo.getUserId())).
reduce(0, Integer::sum);
return ResponseEntity.ok(added);
return ResponseEntity.ok(addedCount);
}
}

0 comments on commit a103312

Please sign in to comment.