Skip to content

Commit d00fac6

Browse files
committed
fix: corrected endpoint parameter in nopifyRequest
1 parent d393de1 commit d00fac6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/plugins/environments.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ module.exports = class Environments extends Diffable {
2323
if (!this.nop) {
2424
await this.github.request(url, options);
2525
} else {
26+
const endpoint = {url, body: options};
2627
return Promise.resolve([
27-
new NopCommand(this.constructor.name, this.repo, url, description)
28+
new NopCommand(this.constructor.name, this.repo, endpoint, description)
2829
]);
2930
}
3031
}

0 commit comments

Comments
 (0)