diff options
Diffstat (limited to 'web_src/js/features/org-team.js')
-rw-r--r-- | web_src/js/features/org-team.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/org-team.js b/web_src/js/features/org-team.js index d6492965ff..ea0ea5fe74 100644 --- a/web_src/js/features/org-team.js +++ b/web_src/js/features/org-team.js @@ -1,4 +1,4 @@ -const {AppSubUrl} = window.config; +const {appSubUrl} = window.config; export function initOrgTeamSettings() { // Change team access mode @@ -18,7 +18,7 @@ export function initOrgTeamSearchRepoBox() { $searchRepoBox.search({ minCharacters: 2, apiSettings: { - url: `${AppSubUrl}/api/v1/repos/search?q={query}&uid=${$searchRepoBox.data('uid')}`, + url: `${appSubUrl}/api/v1/repos/search?q={query}&uid=${$searchRepoBox.data('uid')}`, onResponse(response) { const items = []; $.each(response.data, (_i, item) => { |