Fix: encode query

This commit is contained in:
FireMasterK 2020-12-14 18:51:55 +05:30
parent 29de1c0731
commit 07c1b8e986
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58

View file

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