Skip to content

Commit

Permalink
chore: Use correct search url in derivatives form
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitcheljager committed Jan 4, 2025
1 parent 444918c commit 1bf8b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/src/components/form/Derivatives.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
async function handleAutoCompleteRequest(value) {
if (!value) return []
return new FetchRails(`/code/${value}`).get({
return new FetchRails(`search?code=${value}`).get({
returnResponse: true,
parameters: {
headers: { "Accept": "application/json" }
Expand Down

0 comments on commit 1bf8b0d

Please sign in to comment.