From c32baaa8ccec2c313c39e173ab6ba3788ee8df95 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Thu, 9 Nov 2023 17:12:40 +1100 Subject: [PATCH 1/2] Use the correct skills endpoing --- src/shared/services/skills.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/services/skills.js b/src/shared/services/skills.js index fef27dcf0..1e0955bbd 100644 --- a/src/shared/services/skills.js +++ b/src/shared/services/skills.js @@ -20,7 +20,7 @@ class SkillService { * @returns */ getSkills(term) { - return this.private.api.get(`/emsi-skills/skills/auto-complete?${qs.stringify({ + return this.private.api.get(`/standardized-skills/skills/auto-complete?${qs.stringify({ term, })}`) .then(res => (res.ok ? res.json() : new Error(res.statusText))); From 74fb844507f15dfdecde77dd4b1f8de53f829f45 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Thu, 9 Nov 2023 17:32:26 +1100 Subject: [PATCH 2/2] Fix path --- src/shared/services/skills.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/services/skills.js b/src/shared/services/skills.js index 1e0955bbd..2e01bd709 100644 --- a/src/shared/services/skills.js +++ b/src/shared/services/skills.js @@ -20,7 +20,7 @@ class SkillService { * @returns */ getSkills(term) { - return this.private.api.get(`/standardized-skills/skills/auto-complete?${qs.stringify({ + return this.private.api.get(`/standardized-skills/skills/autocomplete?${qs.stringify({ term, })}`) .then(res => (res.ok ? res.json() : new Error(res.statusText)));