Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glitch example failing #1800

Open
prasadpilla opened this issue Feb 12, 2023 · 2 comments
Open

Glitch example failing #1800

prasadpilla opened this issue Feb 12, 2023 · 2 comments

Comments

@prasadpilla
Copy link

prasadpilla commented Feb 12, 2023

Bug Report

Current Behavior
The current glitch examples is failing because of an outdated API ref

// Current code
return context.github.issues.createComment(params)

// Needs to be updated to
return context.octokit.issues.createComment(params)

Expected behavior/code
The example shouldn't fail

Environment

  • Probot version(s): [e.g. v6.0.0]
  • Node/npm version: [e.g. Node 8/npm 5]
  • OS: [e.g. OSX 10.13.4, Windows 10]

Possible Solution

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

@welcome
Copy link

welcome bot commented Feb 12, 2023

Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved.

@innazh
Copy link

innazh commented Oct 26, 2023

Thank you, saved me ! @prasadpilla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants