Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
node_template
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Владислав Цой
node_template
Commits
b4b02f0b
Commit
b4b02f0b
authored
Mar 28, 2024
by
amoreno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: getAllArticles in controller
parent
04ff1da5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
article.controller.ts
src/controllers/article.controller.ts
+1
-1
No files found.
src/controllers/article.controller.ts
View file @
b4b02f0b
...
...
@@ -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
);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment