Skip to content

Commit d556d53

Browse files
gunwoong1630HwuanPage
authored andcommitted
hotfix: error fix
1 parent b45b2e7 commit d556d53

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/main/java/sevenstar/marineleisure/activity/dto/reponse/activitiyDetailResponse/mapper/ActivityDetailMapper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class ActivityDetailMapper {
1616
public static ActivityDetailFishingResponse fromFishing(Fishing fishing) {
1717
return ActivityDetailFishingResponse.builder()
1818
.forecastDate(fishing.getForecastDate())
19-
.timePeriod(fishing.getTimePeriod())
19+
.timePeriod(fishing.getTimePeriod().name())
2020
.tide(fishing.getTide())
2121
.totalIndex(fishing.getTotalIndex())
2222
.waveHeightMin(fishing.getWaveHeightMin())
@@ -51,7 +51,7 @@ public static ActivityDetailMudflatResponse fromMudflat(Mudflat mudflat) {
5151
public static ActivityDetailSurfingResponse fromSurfing(Surfing surfing) {
5252
return ActivityDetailSurfingResponse.builder()
5353
.forecastDate(surfing.getForecastDate())
54-
.timePeriod(surfing.getTimePeriod())
54+
.timePeriod(surfing.getTimePeriod().name())
5555
.waveHeight(surfing.getWaveHeight())
5656
.wavePeriod(surfing.getWavePeriod())
5757
.windSpeed(surfing.getWindSpeed())
@@ -64,7 +64,7 @@ public static ActivityDetailSurfingResponse fromSurfing(Surfing surfing) {
6464
public static ActivityDetailScubaResponse fromScuba(Scuba scuba) {
6565
return ActivityDetailScubaResponse.builder()
6666
.forecastDate(scuba.getForecastDate())
67-
.timePeriod(scuba.getTimePeriod())
67+
.timePeriod(scuba.getTimePeriod().name())
6868
.sunrise(scuba.getSunrise())
6969
.sunset(scuba.getSunset())
7070
.tide(scuba.getTide())

src/main/java/sevenstar/marineleisure/global/swagger/SwaggerController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ public ResponseEntity<BaseResponse<SwaggerTestResponse>> uploadProfile(
6767
public ResponseEntity<BaseResponse<SwaggerTestResponse>> deleteUser(
6868
@Parameter(description = "삭제할 사용자 ID", example = "1") @PathVariable Long id
6969
) {
70-
return BaseResponse.error(CommonErrorCode.UNSUPPORTED_DELETE);
70+
return BaseResponse.error(CommonErrorCode.INTERNET_SERVER_ERROR);
7171
}
7272
}

src/main/java/sevenstar/marineleisure/member/service/OauthService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
@Slf4j
2828
@Service
2929
@RequiredArgsConstructor
30-
@PropertySource("classpath:application-auth.properties")
3130
public class OauthService {
3231

3332
private final MemberRepository memberRepository;

0 commit comments

Comments
 (0)