fix: error clicked when create new news
This commit is contained in:
@@ -35,7 +35,7 @@ type News struct {
|
||||
LiveAt time.Time `json:"live_at"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
Clicked int64 `json:"clicked"`
|
||||
Clicked int64 `json:"clicked" gorm:"-"`
|
||||
|
||||
Author Staff `json:"author"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user