search: fix fetch URL.

This commit is contained in:
FireMasterK 2021-01-02 22:22:28 +05:30
parent a27c822980
commit aee8424908
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58

View file

@ -86,7 +86,7 @@ export default {
"&id=" +
encodeURIComponent(this.results.id) +
"&q=" +
encodeURIComponent(this.$route.params.search_query)
encodeURIComponent(this.$route.query.search_query)
)
.then(body => body.json())
.then(json => {