diff --git a/questionservice/question-service.js b/questionservice/question-service.js index 000fea9..56e1cfe 100644 --- a/questionservice/question-service.js +++ b/questionservice/question-service.js @@ -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); }); @@ -221,4 +221,4 @@ app.post('/imgs/answer', (req, res) => { app.listen(port, () => { console.log(`Questions service listening on http://localhost:${port}`); -}); \ No newline at end of file +});