Compare commits
2 Commits
a1466e860d
...
08d8d0ed22
| Author | SHA1 | Date | |
|---|---|---|---|
| 08d8d0ed22 | |||
| 932c042aa2 |
@@ -96,3 +96,7 @@ func ToSearchPostListDTO(posts []database.Post, query string, limit, offset int)
|
|||||||
Offset: offset,
|
Offset: offset,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TitleResponseDTO struct {
|
||||||
|
Title string `json:"title"`
|
||||||
|
}
|
||||||
|
|||||||
@@ -117,3 +117,9 @@ func ToRegistrationResponseDTO(user *database.User, verificationSent bool) Regis
|
|||||||
type AccountDeletionResponseDTO struct {
|
type AccountDeletionResponseDTO struct {
|
||||||
PostsDeleted bool `json:"posts_deleted"`
|
PostsDeleted bool `json:"posts_deleted"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type MessageResponseDTO struct {
|
||||||
|
Message string `json:"message"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type EmptyResponseDTO struct{}
|
||||||
|
|||||||
Reference in New Issue
Block a user