요청 관리: 모든 API 조회

This commit is contained in:
현성필
2024-05-31 14:56:01 +09:00
parent b84bbea57b
commit 1e78021e8e
@@ -45,8 +45,7 @@ public class ApiRequestMgmtController {
@GetMapping("/mgmt/collections/list.do")
public ResponseEntity<List<ApiCollectionDTO>> listApiRequests() {
StaffUser user = userService.findByEsntlId(SecurityUtil.getCurrentUserEsntlId());
List<ApiCollection> collections = apiRequestMgmtService.getMyApis(user);
List<ApiCollection> collections = apiRequestMgmtService.findAll();
return ResponseEntity.ok(apiRequestMapper.mapCollections(collections));
}