feat: add TitleResponseDTO for title fetch responses
This commit is contained in:
1 parent
a1466e860d
commit
932c042aa2
1 file changed
+4
@@ -96,3 +96,7 @@ func ToSearchPostListDTO(posts []database.Post, query string, limit, offset int)
|
||||
Offset: offset,
|
||||
}
|
||||
}
|
||||
|
||||
type TitleResponseDTO struct {
|
||||
Title string `json:"title"`
|
||||
}
|
||||
Reference in new issue
Block a user