🐛 Fix thumbnail setting
This commit is contained in:
@ -65,7 +65,7 @@ type Post struct {
|
||||
}
|
||||
|
||||
type PostStoryBody struct {
|
||||
Thumbnail *uint `json:"thumbnail"`
|
||||
Thumbnail string `json:"thumbnail"`
|
||||
Title *string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
Location *string `json:"location"`
|
||||
@ -73,7 +73,7 @@ type PostStoryBody struct {
|
||||
}
|
||||
|
||||
type PostArticleBody struct {
|
||||
Thumbnail *uint `json:"thumbnail"`
|
||||
Thumbnail string `json:"thumbnail"`
|
||||
Title string `json:"title"`
|
||||
Description *string `json:"description"`
|
||||
Content string `json:"content"`
|
||||
|
Reference in New Issue
Block a user