Commit b4b02f0b authored by amoreno's avatar amoreno

fix: getAllArticles in controller

parent 04ff1da5
......@@ -9,7 +9,7 @@ export class ArticleController {
}
getAllArticles: RequestHandler = (req, res): void => {
const articles = this.service.getAllArticles;
const articles = this.service.getAllArticles();
res.send(articles);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment