Skip to content

Commit

Permalink
Update gatewayservice/gateway-service.js fixed new route in questions
Browse files Browse the repository at this point in the history
Co-authored-by: Abel <[email protected]>
  • Loading branch information
MarcosBarrilVillaverde and AbelMH1 authored Mar 13, 2024
1 parent e7d1108 commit eef9653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatewayservice/gateway-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ app.post('/adduser', async (req, res) => {

app.get('/questions', async (req, res) => {
try {
const response = await axios.get(storeQuestionsServiceUrl+'/questions');
const response = await axios.get(storeQuestionsServiceUrl+'/history/questions');
res.json(response.data);
} catch (error) {
res.status(error.response.status).json({ error: error.response.data.error });
Expand Down

0 comments on commit eef9653

Please sign in to comment.