Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #75 from Arquisoft/Manueluz-patch-1
Browse files Browse the repository at this point in the history
Update question.js
  • Loading branch information
Manueluz committed Feb 13, 2024
2 parents b14cf5b + d039eb1 commit dce7ef6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions question_service/question.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ app.use(authMiddleware); // Auth middleware for the questions API

// Api endpoints
// Question endpoints
app.get('/api/questions/generate', async (req, res) => {
app.post('/api/questions/generate', async (req, res) => {
res.status(200).json(await geoGen())
});

Expand All @@ -27,4 +27,4 @@ const server = app.listen(port, () => {
});


module.exports = server
module.exports = server

0 comments on commit dce7ef6

Please sign in to comment.