diff --git a/app/src/common/urls.js b/app/src/common/urls.js index cf788791c3..e7b2a9d5d0 100644 --- a/app/src/common/urls.js +++ b/app/src/common/urls.js @@ -127,7 +127,8 @@ export const URLS = { apiKeys: (userId) => `${urlCommonBase}users/${userId}/api-keys`, apiKeyById: (userId, apiKeyId) => `${urlCommonBase}users/${userId}/api-keys/${apiKeyId}`, - organizationsList: () => `${urlBase}organizations`, + organizationsList: (name) => `${urlBase}organizations${getQueryParams({ name })}`, + organizationsById: (organizationId) => `${urlBase}organizations${organizationId}`, projectByName: (projectKey) => `${urlBase}project/${projectKey}`, project: (ids = []) => `${urlBase}project?ids=${ids.join(',')}`,