Update API SearchResult path

This commit is contained in:
Xevion
2022-05-24 19:16:31 -05:00
parent 713d96ac33
commit fd475ba089
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,8 +19,8 @@
},
"functions": {
"predeploy": [
"yarn --prefix \"$RESOURCE_DIR\" run lint",
"yarn --prefix \"$RESOURCE_DIR\" run build"
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
}
}
+1 -1
View File
@@ -149,7 +149,7 @@ export default {
clearTimeout(this.timeoutID);
},
fetchQuotes() {
const path = `/api/quote/surrounding?season=${this.item.season}&episode=${this.item.episode_rel}&scene=${this.item.section_rel}&quote=${this.item.quote_rel}`;
const path = `/api/surrounding?season=${this.item.season}&episode=${this.item.episode_rel}&scene=${this.item.section_rel}&quote=${this.item.quote_rel}`;
axios
.get(path)
.then((res) => {