Skip to content

Commit

Permalink
some fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasevano committed Jul 31, 2020
1 parent c9df95b commit 5aa068d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,12 @@ export default {
searchSneaker() {
console.log(`Checking name: ${this.sneakerBrand} ${this.sneakerName}`);
this.$axios
.$get(
"https://cors.io/?https://api.thesneakerdatabase.com/v1/sneakers?limit=10",
{
params: {
name: this.sneakerName,
brand: this.brand,
},
}
)
.$get("https://api.thesneakerdatabase.com/v1/sneakers?limit=10", {
params: {
name: this.sneakerName,
brand: this.sneakerBrand,
},
})
.then((res) => {
console.log(res);
})
Expand Down

0 comments on commit 5aa068d

Please sign in to comment.