diff --git a/internal/dto/post.go b/internal/dto/post.go index b6b07cd..f221049 100644 --- a/internal/dto/post.go +++ b/internal/dto/post.go @@ -96,3 +96,7 @@ func ToSearchPostListDTO(posts []database.Post, query string, limit, offset int) Offset: offset, } } + +type TitleResponseDTO struct { + Title string `json:"title"` +}