Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
Modernize code
Browse files Browse the repository at this point in the history
Replace deprecated `number` property with `issue_number`
  • Loading branch information
malfet committed Sep 2, 2021
1 parent c5b69ae commit 6f6a5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class CachedIssueTracker extends CachedConfigTracker {
context.log({key}, 'loadIssue');
const config = await this.loadConfig(context);
const subsPayload = await context.github.issues.get(
context.repo({number: config[this.configName]})
context.repo({issue_number: config[this.configName]})
);
const subsText = subsPayload.data['body'];
context.log({subsText});
Expand Down

0 comments on commit 6f6a5b3

Please sign in to comment.