mirror of
https://github.com/Xevion/the-office.git
synced 2026-01-30 22:26:07 -06:00
Update API SearchResult path
This commit is contained in:
+2
-2
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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}"e=${this.item.quote_rel}`;
|
||||
const path = `/api/surrounding?season=${this.item.season}&episode=${this.item.episode_rel}&scene=${this.item.section_rel}"e=${this.item.quote_rel}`;
|
||||
axios
|
||||
.get(path)
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user