diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-03-05 14:48:47 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-03-05 14:48:47 +0100 |
commit | 47982b0f41790d9fdb6bdac7084c02015b5d3049 (patch) | |
tree | f542af95a1485994d7bf50070b75e5dfa5a3c3d3 /init.js | |
parent | 0287e8bfd0a359d9c1acefe19c278fd690ae3472 (diff) | |
download | google_images-47982b0f41790d9fdb6bdac7084c02015b5d3049.tar.xz |
Fix syntax error
Diffstat (limited to 'init.js')
-rw-r--r-- | init.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ module.exports.search = (query, userAgent = "Mozilla/5.0 (X11; Ubuntu; Linux x86 ) module.exports.searchRandom = (query, userAgent) => module.exports.search(query, userAgent) - .then(results => results[Math.floor(Math.random() * results.length)) + .then(results => results[Math.floor(Math.random() * results.length)]) /* |