Commit c4c246d1 authored by Harsh Chouraria's avatar Harsh Chouraria

Add prefix to autocomplete path

After the change by
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/34295
the global /autocomplete path no longer works
and the /-/ (hyphen) prefix is required to avoid a 404

Fixes https://gitlab.com/gitlab-org/gitlab/-/issues/332556

Changelog: fixed
parent 36278d57
......@@ -204,7 +204,7 @@ export default class AvailableDropdownMappings {
getMergeRequestTargetBranchesEndpoint() {
const endpoint = `${
gon.relative_url_root || ''
}/autocomplete/merge_request_target_branches.json`;
}/-/autocomplete/merge_request_target_branches.json`;
const params = {
group_id: this.getGroupId(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment