feat: add TitleResponseDTO for title fetch responses

This commit is contained in:
2026-01-10 22:43:57 +01:00
parent a1466e860d
commit 932c042aa2

View File

@@ -96,3 +96,7 @@ func ToSearchPostListDTO(posts []database.Post, query string, limit, offset int)
Offset: offset,
}
}
type TitleResponseDTO struct {
Title string `json:"title"`
}