From fd475ba089c52c34750c91930e5ee085e0173d0a Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 24 May 2022 19:16:31 -0500 Subject: [PATCH] Update API SearchResult path --- firebase.json | 4 ++-- src/components/SearchResult.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) => {