diff --git a/src/main/kotlin/com/wafflestudio/csereal/core/news/database/NewsRepository.kt b/src/main/kotlin/com/wafflestudio/csereal/core/news/database/NewsRepository.kt index 8cda2e7b..eec400f0 100644 --- a/src/main/kotlin/com/wafflestudio/csereal/core/news/database/NewsRepository.kt +++ b/src/main/kotlin/com/wafflestudio/csereal/core/news/database/NewsRepository.kt @@ -29,7 +29,7 @@ interface NewsRepository : JpaRepository, CustomNewsRepository } interface CustomNewsRepository { - fun searchNews(tag: List?, keyword: String?, pageable: Pageable, usePageBtn: Boolean): NewsSearchResponse + fun searchNews(tag: List?, keyword: String?, pageable: Pageable, usePageBtn: Boolean, isStaff: Boolean): NewsSearchResponse fun searchTotalNews( keyword: String, number: Int,