mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 05:24:10 +03:00
Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
df654906c4
1 file changed
+1
-1
+1
-1
@@ -1446,7 +1446,7 @@ const getSuggestions = async () => {
|
||||
const wordQuery = inputField.value;
|
||||
const endpoint = `${url}${queryParams}${wordQuery}`;
|
||||
try{
|
||||
const response = __~await~__ __~fetch(endpoint, {cache: 'no-cache'});
|
||||
const response = await fetch(endpoint, {cache: 'no-cache'});
|
||||
if(response.ok){
|
||||
const jsonResponse = await response.json()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user