Skip to content

Commit 791b1ad

Browse files
authored
release: 1.7.8 (#193)
2 parents fe6dfc3 + 6247fa2 commit 791b1ad

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/main/kotlin/org/gitanimals/quiz/app/CreateQuizFacade.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class CreateQuizFacade(
105105
)
106106
)
107107

108-
return CreateQuizResponse.fail(
108+
return CreateQuizResponse.underReview(
109109
point = CREATE_QUIZ_PRICE,
110110
message = CREATE_QUIZ_SIMILARITY_CHECK_MESSAGE
111111
)

src/main/kotlin/org/gitanimals/quiz/app/response/CreateQuizResponse.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,13 @@ data class CreateQuizResponse(
2222
message = message,
2323
)
2424
}
25+
26+
fun underReview(point: Long, message: String): CreateQuizResponse {
27+
return CreateQuizResponse(
28+
result = "UNDER_REVIEW",
29+
point = point,
30+
message = message,
31+
)
32+
}
2533
}
2634
}

0 commit comments

Comments
 (0)