Cleaning here and there
This commit is contained in:
1 parent
75ee8d9a38
commit
a29b8ccc84
3 files changed
+7
-10
No files matched your search
@@ -37,6 +37,7 @@ func AddArticle(c *gin.Context) {
|
||||
SendOkMessageToClient(c, "Article successfully added!")
|
||||
}
|
||||
|
||||
// TODO Change to GetArticleList that will find filter json context
|
||||
func GetAllArticles(c *gin.Context) {
|
||||
var articles []Article
|
||||
documents, err := getDocuments(ARTICLES_LOCATION, bson.D{})
|
||||
|
||||
Reference in new issue
Block a user