diff --git a/src/shared/api.json b/src/shared/api.json index 1feee3a44..24478214f 100644 --- a/src/shared/api.json +++ b/src/shared/api.json @@ -54,7 +54,6 @@ "URL_LICENSE_GROUP": "api/v1/licenseGroup", "URL_ACL_MAPPING": "api/v1/acl/mapping", "URL_ACL_TEAM": "api/v1/acl/team", - "URL_ACL_NOTASSIGNEDPROJECTS": "api/v1/acl/notassignedprojects", "URL_VEX": "api/v1/vex", "URL_OSV_ECOSYSTEM": "api/v1/integration/osv/ecosystem" } diff --git a/src/views/administration/accessmanagement/SelectProjectModal.vue b/src/views/administration/accessmanagement/SelectProjectModal.vue index dfe312cc4..f0e46884a 100644 --- a/src/views/administration/accessmanagement/SelectProjectModal.vue +++ b/src/views/administration/accessmanagement/SelectProjectModal.vue @@ -86,11 +86,11 @@ export default { }, methods: { apiUrl: function () { - let url = `${this.$api.BASE_URL}/${this.$api.URL_ACL_NOTASSIGNEDPROJECTS}/${this.teamUuid}`; + let url = `${this.$api.BASE_URL}/${this.$api.URL_PROJECT}?notAssignedToTeamWithUuid=${this.teamUuid}`; if (this.showInactiveProjects === undefined) { - url += "?excludeInactive=true"; + url += "&excludeInactive=true"; } else { - url += "?excludeInactive=" + !this.showInactiveProjects; + url += "&excludeInactive=" + !this.showInactiveProjects; } return url; },