Skip to content

Commit 7aa7f09

Browse files
authored
release: 1.2.4 (#134)
2 parents 4380ea5 + 00d38d6 commit 7aa7f09

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class ApproveQuizFacade(
3030
quizService.createNewQuiz(quiz)
3131
}.onSuccess {
3232
notApprovedQuizService.deleteQuizById(notApprovedQuizId)
33+
quizService.updateQuizCountCacheScheduled()
3334
}.getOrElse {
3435
logger.error("Cannot approve quiz. cause $it", it)
3536
throw it

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ class CreateQuizFacade(
133133
level = request.level,
134134
)
135135

136+
quizService.updateQuizCountCacheScheduled()
137+
136138
CreateQuizResponse.success(
137139
point = CREATE_QUIZ_PRICE,
138140
message = CREATE_QUIZ_SUCCESS_MESSAGE

0 commit comments

Comments
 (0)