refac: renamed 'post' -> 'article'
This commit is contained in:
1 parent
cb9a431488
commit
b470bfcc67
44 files changed
+701
-967
No files matched your search
@@ -27,7 +27,7 @@ func PostImage(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
err = api.Container.UpdatePostUseCase.AddImage(uint32(idInt), newImage.ID)
|
||||
err = api.Container.UpdateArticleUseCase.AddImage(uint32(idInt), newImage.ID)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user