We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b22b57 + f4cd66a commit 6396397Copy full SHA for 6396397
routers/api/v1/article.go
@@ -163,6 +163,7 @@ func AddArticle(c *gin.Context) {
163
Content: form.Content,
164
CoverImageUrl: form.CoverImageUrl,
165
State: form.State,
166
+ CreatedBy: form.CreatedBy,
167
}
168
if err := articleService.Add(); err != nil {
169
appG.Response(http.StatusInternalServerError, e.ERROR_ADD_ARTICLE_FAIL, nil)
0 commit comments