Skip to content

Commit

Permalink
Fix return type for PhylumApi::getJobStatusRaw
Browse files Browse the repository at this point in the history
This change corrects an oversight in the extensions API where the
`getJobStatusRaw` endpoint was returning the results as if the
`getJobStatus` endpoint was called instead. The return types are indeed
different.
  • Loading branch information
maxrake committed Nov 15, 2024
1 parent c5cc1a2 commit fdfca2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
get_current_project,
get_groups,
get_job_status,
get_job_status_raw,
get_package_details,
get_projects,
get_refresh_token,
Expand Down Expand Up @@ -107,7 +108,7 @@ export function getJobStatusRaw(
jobId,
ignoredPackages,
) {
return get_job_status(jobId, ignoredPackages);
return get_job_status_raw(jobId, ignoredPackages);
}

export function getCurrentProject() {
Expand Down
4 changes: 4 additions & 0 deletions extensions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

### Fixed

- Incorrect return type for `PhylumApi::getJobStatusRaw` endpoint

## 7.1.4 - 2024-11-07

### Fixed
Expand Down

0 comments on commit fdfca2c

Please sign in to comment.