Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
usbharu 2023-10-23 13:40:12 +09:00 committed by GitHub
parent 9bef6db051
commit 8aecd26cfe
2 changed files with 0 additions and 2 deletions

View File

@ -28,7 +28,6 @@ class SpringConfig {
}
}
@ConfigurationProperties("hideout")
data class ApplicationConfig(
val url: URL

View File

@ -22,7 +22,6 @@ class NoteQueryServiceImpl(private val postRepository: PostRepository, private v
.leftJoin(Media)
.select { Posts.id eq id }
.let { it.toNote() to postQueryMapper.map(it).first() }
}
private suspend fun ResultRow.toNote(mediaList: List<dev.usbharu.hideout.domain.model.hideout.entity.Media>): Note {