fix: statistic upstream url change & save article to private
This commit is contained in:
@@ -60,7 +60,7 @@ func ListArticlesByUser(c *gin.Context) {
|
||||
Forbidden(c)
|
||||
return
|
||||
}
|
||||
var articles *[]models.ListArtile
|
||||
var articles *[]models.ListArticle
|
||||
if published == "published" {
|
||||
articles = article.ListPublishedArticlesByUser(claims.ID)
|
||||
} else if published == "notpublished" {
|
||||
|
||||
Reference in New Issue
Block a user