Fixed roadmap salary - endpoint typos
This commit is contained in:
parent
c2cc63e2f7
commit
119576eaac
@ -895,7 +895,7 @@ useEffect(() => {
|
|||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
const qs = new URLSearchParams({ socCode: strippedSocCode, area: userArea });
|
const qs = new URLSearchParams({ socCode: strippedSocCode, area: userArea });
|
||||||
const res = await fetch('api/salary?${qs}', { signal: ctrl.signal });
|
const res = await fetch(`api/salary?${qs}`, { signal: ctrl.signal });
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
setSalaryData(await res.json());
|
setSalaryData(await res.json());
|
||||||
|
BIN
user_profile.db
BIN
user_profile.db
Binary file not shown.
Loading…
Reference in New Issue
Block a user