fix stacktrace
This commit is contained in:
parent
610111583b
commit
295cb5c60a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def ping_maintainers(cli):
|
|||
from ghapi.all import GhApi
|
||||
|
||||
ghapi = GhApi(owner=cli.args.owner, repo=cli.args.repo)
|
||||
pr = ghapi.pulls(cli.args.pr)
|
||||
pr = ghapi.pulls.get(cli.args.pr)
|
||||
|
||||
if not pr.draft:
|
||||
for team in pr.requested_teams:
|
||||
|
|
Loading…
Reference in a new issue