gfg
This commit is contained in:
parent
c06f2b3625
commit
9b138c1d90
12 changed files with 23 additions and 24 deletions
|
@ -41,7 +41,7 @@ async function getGif(searchTerm) {
|
|||
|
||||
let response = await fetch("/giphy?searchTerm=" + searchTerm + "&limit=48");
|
||||
let data = await response.json()
|
||||
var max = data.length - 1 //length of response, minus 1 (cuz array starts at index 0)
|
||||
var max = data.length - 1
|
||||
data = data.data
|
||||
var gifURL = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue