Skip to content

Commit

Permalink
api url fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto-Guerra committed Mar 11, 2024
1 parent b8a6cea commit ac6b2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/stores/playing-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface GameQuestions{

const retrieveQuestions = ():Question[] =>{
try {
fetch('https:localhost:7259/WikiData/GetQuestions').then((response) => response.json())
fetch('https:localhost:7259/WikiData/GetCapitalsQuestions').then((response) => response.json())
.then(data => {
useGameQuestions.getState().setQuestions(data);
});
Expand Down

0 comments on commit ac6b2d5

Please sign in to comment.