Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
Randy8080 committed 2020-12-30 21:02:18 +08:00
commit df654906c4
1 file changed
+1 -1
+1 -1
View File
@@ -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()
}