feat: add MessageResponseDTO and EmptyResponseDTO
This commit is contained in:
@@ -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