Skip to content

Commit

Permalink
Minor text correction
Browse files Browse the repository at this point in the history
I had written 'imagen' instead of 'images'
  • Loading branch information
ChristianFN2 authored Apr 2, 2024
1 parent c49ce91 commit 0d50563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions questionservice/question-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ app.get('/imgs/cities/question', async (req, res) => {
?item wdt:P18 ?image.
}
LIMIT 200`
const question = JSON.parse(await wiq.getQuestionAndImages(query,"imagen","corresponds to"));
const question = JSON.parse(await wiq.getQuestionAndImages(query,"images","corresponds to"));
res.json(question);
});

Expand Down Expand Up @@ -221,4 +221,4 @@ app.post('/imgs/answer', (req, res) => {

app.listen(port, () => {
console.log(`Questions service listening on http://localhost:${port}`);
});
});

0 comments on commit 0d50563

Please sign in to comment.