diff --git a/build.gradle b/build.gradle index b11ef960..40b02596 100644 --- a/build.gradle +++ b/build.gradle @@ -45,6 +45,7 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'io.jsonwebtoken:jjwt:0.9.1' + implementation 'org.springframework.boot:spring-boot-starter-cache' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.h2database:h2' runtimeOnly 'mysql:mysql-connector-java' @@ -79,7 +80,7 @@ jacocoTestCoverageVerification { limit { counter = 'BRANCH' value = 'COVEREDRATIO' - minimum = 0.00 + minimum = 0.80 } } } diff --git a/src/frontend/src/api/modules/comment.js b/src/frontend/src/api/modules/comment.js index 0c873930..0d5c19da 100644 --- a/src/frontend/src/api/modules/comment.js +++ b/src/frontend/src/api/modules/comment.js @@ -9,6 +9,9 @@ const CommentService = { commentRequest ); }, + get(articleId) { + return ApiService.get(`${BASE_URL}/${articleId}/comments`); + }, delete(params) { return ApiService.delete( `${BASE_URL}/${params.articleId}/comments/${params.commentId}` diff --git a/src/frontend/src/components/EmotionFilter.vue b/src/frontend/src/components/EmotionFilter.vue index 14e944f7..a86bb411 100644 --- a/src/frontend/src/components/EmotionFilter.vue +++ b/src/frontend/src/components/EmotionFilter.vue @@ -1,21 +1,17 @@