Skip to content

Commit

Permalink
Fix debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AsteroidusTv committed Jul 26, 2024
1 parent c09566e commit 061a311
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/getSmurfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ async function getSmurfs(searchQuery, sort) {
let data = await fetch(
`api/getSmurfs.php?searchQuery=${searchQuery}&sort=${sort}`
);
return data.json();
console.log(data);
return data.json();

}

0 comments on commit 061a311

Please sign in to comment.