👽 Update attachment reference to string
This commit is contained in:
@ -62,17 +62,17 @@ type Post struct {
|
||||
}
|
||||
|
||||
type PostStoryBody struct {
|
||||
Thumbnail *uint `json:"thumbnail"`
|
||||
Title *string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
Location *string `json:"location"`
|
||||
Attachments []uint `json:"attachments"`
|
||||
Thumbnail *uint `json:"thumbnail"`
|
||||
Title *string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
Location *string `json:"location"`
|
||||
Attachments []string `json:"attachments"`
|
||||
}
|
||||
|
||||
type PostArticleBody struct {
|
||||
Thumbnail *uint `json:"thumbnail"`
|
||||
Title string `json:"title"`
|
||||
Description *string `json:"description"`
|
||||
Content string `json:"content"`
|
||||
Attachments []uint `json:"attachments"`
|
||||
Thumbnail *uint `json:"thumbnail"`
|
||||
Title string `json:"title"`
|
||||
Description *string `json:"description"`
|
||||
Content string `json:"content"`
|
||||
Attachments []string `json:"attachments"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user