Skip to content

Commit

Permalink
refactor: response 변수 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
LJW25 committed Jan 23, 2024
1 parent bedc68c commit e4b5941
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class AdminCategoryController {
public ResponseEntity<List<CategoryDetailResponse>> getCategoriesDetail(
@AdminAuth final Accessor accessor
) {
final List<CategoryDetailResponse> categoriesDetail = categoryService.getAllCategoriesDetail();
return ResponseEntity.ok(categoriesDetail);
final List<CategoryDetailResponse> categoryDetailResponses = categoryService.getAllCategoriesDetail();
return ResponseEntity.ok(categoryDetailResponses);
}

@PostMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class AdminCityController {
public ResponseEntity<List<CityDetailResponse>> getCitiesDetail(
@AdminAuth final Accessor accessor
) {
final List<CityDetailResponse> citiesDetail = cityService.getAllCitiesDetail();
return ResponseEntity.ok(citiesDetail);
final List<CityDetailResponse> cityDetailResponses = cityService.getAllCitiesDetail();
return ResponseEntity.ok(cityDetailResponses);
}

@PostMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public ResponseEntity<CurrencyListResponse> getCurrencies(
@AdminAuth final Accessor accessor,
@PageableDefault(sort = "date", direction = DESC) final Pageable pageable
) {
final CurrencyListResponse currencies = currencyService.getCurrenciesByPage(pageable);
return ResponseEntity.ok().body(currencies);
final CurrencyListResponse currencyListResponse = currencyService.getCurrenciesByPage(pageable);
return ResponseEntity.ok().body(currencyListResponse);
}

@PostMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class AdminMemberController {
public ResponseEntity<List<AdminMemberResponse>> getAdminMembers(
@AdminAuth final Accessor accessor
) {
final List<AdminMemberResponse> adminMembers = adminMemberService.getAdminMembers();
return ResponseEntity.ok(adminMembers);
final List<AdminMemberResponse> adminMemberResponses = adminMemberService.getAdminMembers();
return ResponseEntity.ok(adminMemberResponses);
}

@PostMapping
Expand Down

0 comments on commit e4b5941

Please sign in to comment.