Skip to content

Commit

Permalink
refactor: update the api client package
Browse files Browse the repository at this point in the history
Support qaseio package version 2.1.6
  • Loading branch information
gibiw committed Jul 15, 2024
1 parent de3482d commit 001ad25
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions qase-javascript-commons/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [email protected]

## What's new

Support qaseio package version 2.1.6


# [email protected]

## What's new
Expand Down
2 changes: 1 addition & 1 deletion qase-javascript-commons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qase-javascript-commons",
"version": "2.0.11",
"version": "2.0.12",
"description": "Qase JS Reporters",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion qase-javascript-commons/src/reporters/testops-reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class TestOpsReporter extends AbstractReporter {
let environmentId: number | undefined;
if (this.environment != undefined) {
try {
const { data } = await this.api.environment.getEnvironments(this.projectCode, 100);
const { data } = await this.api.environment.getEnvironments(this.projectCode, undefined, this.environment, 100);
const env = data.result?.entities?.find((env) => env.slug === this.environment);
if (env) {
environmentId = env.id;
Expand Down

0 comments on commit 001ad25

Please sign in to comment.