diff --git a/cli/js/api.js b/cli/js/api.js index 60f8608b8..a92e1bd50 100644 --- a/cli/js/api.js +++ b/cli/js/api.js @@ -63,12 +63,14 @@ export function analyze( project, group, label, + organization, ) { return op_analyze( packages, project, group, label, + organization, ); } @@ -116,20 +118,21 @@ export function getGroups() { return get_groups(); } -export function getProjects(group) { - return get_projects(group); +export function getProjects(group, organization) { + return get_projects(group, organization); } export function createProject( name, group, repository_url, + organization, ) { - return create_project(name, group, repository_url); + return create_project(name, group, repository_url, organization); } -export function deleteProject(name, group) { - return delete_project(name, group); +export function deleteProject(name, group, organization) { + return delete_project(name, group, organization); } export function getPackageDetails( diff --git a/extensions/CHANGELOG.md b/extensions/CHANGELOG.md index 66299a220..424460ff3 100644 --- a/extensions/CHANGELOG.md +++ b/extensions/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## Unreleased +### Fixed + +- Add missing `organization` parameters to global `Phylum` object endpoints + ## 7.1.1 - 2024-10-09 ### Changed