fix: create and get news
This commit is contained in:
@@ -72,7 +72,7 @@ func Create(
|
||||
return
|
||||
}
|
||||
|
||||
if err := newsSvc.CreateModel(spec, staffProfile.ID); err != nil {
|
||||
if err := newsSvc.Create(spec, staffProfile.ID); err != nil {
|
||||
response.ResponseWithErrorCode(
|
||||
ctx,
|
||||
w,
|
||||
|
||||
Reference in New Issue
Block a user