We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 113fd36 + 6147971 commit cf6ec16Copy full SHA for cf6ec16
1 file changed
nmnb-application/src/main/kotlin/nmnb/application/domain/post/service/dto/response/PostPageResponse.kt
@@ -20,6 +20,7 @@ data class PostPageResponse(
20
}
21
22
data class PostInfoResponse(
23
+ val userId: String?,
24
val postId: Long?,
25
val url: String,
26
val thumbnailUrl: String,
@@ -29,6 +30,7 @@ data class PostInfoResponse(
29
30
companion object {
31
fun of(post: Post): PostInfoResponse {
32
return PostInfoResponse(
33
+ userId = post.user.id,
34
postId = post.id,
35
url = post.url,
36
thumbnailUrl = post.thumbnailUrl,
0 commit comments