diff --git a/firebase.json b/firebase.json index dbc30a0..7fc3233 100644 --- a/firebase.json +++ b/firebase.json @@ -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" ] } } diff --git a/src/components/SearchResult.vue b/src/components/SearchResult.vue index ea42a18..a72328b 100644 --- a/src/components/SearchResult.vue +++ b/src/components/SearchResult.vue @@ -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) => {