diff options
Diffstat (limited to 'web_src/js/features/repo-template.js')
-rw-r--r-- | web_src/js/features/repo-template.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/repo-template.js b/web_src/js/features/repo-template.js index 9385e2acb8..5c100a89c5 100644 --- a/web_src/js/features/repo-template.js +++ b/web_src/js/features/repo-template.js @@ -1,6 +1,6 @@ import {htmlEscape} from 'escape-goat'; -const {AppSubUrl} = window.config; +const {appSubUrl} = window.config; export function initRepoTemplateSearch() { const $repoTemplate = $('#repo_template'); @@ -22,7 +22,7 @@ export function initRepoTemplateSearch() { $('#repo_template_search') .dropdown({ apiSettings: { - url: `${AppSubUrl}/api/v1/repos/search?q={query}&template=true&priority_owner_id=${$('#uid').val()}`, + url: `${appSubUrl}/api/v1/repos/search?q={query}&template=true&priority_owner_id=${$('#uid').val()}`, onResponse(response) { const filteredResponse = {success: true, results: []}; filteredResponse.results.push({ |