Update JSON tags for Approved and Rejected fields in MediaAttachment model
This commit is contained in:
@@ -6,7 +6,7 @@ type MediaAttachment struct {
|
||||
Url string `json:"url"`
|
||||
PreviewUrl string `json:"preview_url"`
|
||||
RemoteUrl string `json:"remote_url"`
|
||||
Approved bool `json:"-"`
|
||||
Rejected bool `json:"-"`
|
||||
PostID string // Foreign key to Post
|
||||
Approved bool `json:"approved"`
|
||||
Rejected bool `json:"rejected"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user