Skip to content

Commit a095b93

Browse files
authored
release: 0.8.4 (#90)
2 parents d646686 + 3b4236d commit a095b93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/kotlin/org/gitanimals/inbox/controller/response/InboxResponse.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ data class InboxResponse(
3232

3333
fun from(inboxApplication: InboxApplication): InboxResponse {
3434
return InboxResponse(
35-
inboxes = inboxApplication.inboxes.map {
35+
inboxes = inboxApplication.inboxes
36+
.sortedByDescending { it.publisher.publishedAt }
37+
.map {
3638
InboxElement(
3739
id = it.id.toString(),
3840
image = it.image,

0 commit comments

Comments
 (0)