Skip to content

Commit b886da0

Browse files
authored
Merge pull request #150 from Susanghan-guys/feat/#149-report-url
feat: 리포트 공유 url 수정
2 parents 06731f2 + a07799d commit b886da0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/susanghan_guys/server/work/dto/response/ReportSharingResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public record ReportSharingResponse(
1010
@Schema(description = "작품 ID", defaultValue = "1")
1111
Long workId,
1212

13-
@Schema(description = "리포트 링크", defaultValue = "https://www.soosanghan.site/reports/22/verify-code")
13+
@Schema(description = "리포트 링크", defaultValue = "https://www.soosanghan.site/reports/22")
1414
String link,
1515

1616
@Schema(description = "리포트 코드", defaultValue = "64E8E8")
@@ -19,7 +19,7 @@ public record ReportSharingResponse(
1919
public static ReportSharingResponse from(Work work) {
2020
return ReportSharingResponse.builder()
2121
.workId(work.getId())
22-
.link("https://www.soosanghan.site/reports/" + work.getId() + "/verify-code")
22+
.link("https://www.soosanghan.site/reports/" + work.getId())
2323
.code(work.getCode())
2424
.build();
2525
}

0 commit comments

Comments
 (0)