File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
backend/src/main/java/com/ai/lawyer/domain Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public ResponseEntity<?> searchLaws(@RequestBody LawSearchRequestDto searchReque
4545 try {
4646 Page <LawsDto > laws = lawService .searchLaws (searchRequest );
4747 return ResponseEntity .ok (PageResponseDto .from (laws ));
48- }catch (Exception e ){
48+ } catch (Exception e ) {
4949 log .error ("법령 목록 검색 에러 : " + e .getMessage ());
5050 return ResponseEntity .badRequest ().body ("법령 목록 검색 에러 : " + e .getMessage ());
5151 }
@@ -58,7 +58,7 @@ public ResponseEntity<?> getFullLaw(@PathVariable Long id) {
5858 try {
5959 Law law = lawService .getLawWithAllChildren (id );
6060 return ResponseEntity .ok (law );
61- }catch (Exception e ){
61+ } catch (Exception e ) {
6262 log .error ("법령 상세 조회 에러 : " + e .getMessage ());
6363 return ResponseEntity .badRequest ().body ("법령 상세 조회 에러 : " + e .getMessage ());
6464 }
Original file line number Diff line number Diff line change @@ -18,5 +18,4 @@ public Long getPollId() {
1818 public PollVoteDto getVoteDto () {
1919 return voteDto ;
2020 }
21- }
22-
21+ }
You can’t perform that action at this time.
0 commit comments