mirror of https://github.com/usbharu/Hideout.git
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
9bef6db051
commit
8aecd26cfe
|
@ -28,7 +28,6 @@ class SpringConfig {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@ConfigurationProperties("hideout")
|
||||
data class ApplicationConfig(
|
||||
val url: URL
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue