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

Example in README.md doesn't work #52

Open
bnb opened this issue Nov 11, 2020 · 1 comment
Open

Example in README.md doesn't work #52

bnb opened this issue Nov 11, 2020 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@bnb
Copy link
Contributor

bnb commented Nov 11, 2020

Here's the example usage in the README.md:

const maker = require('@pkgjs/meet')

;(async () => {
  const issue = await maker.meetings.createNextMeeting(client, {
    owner: 'pkgjs',
    repo: 'meet',
    schedules: []
  })
  console.log(issue) // the response from the GitHub api creating the issue
})()

Currently, it fails because client isn't actually defined.

@bnb
Copy link
Contributor Author

bnb commented Nov 11, 2020

from run.js:

    const client = new github.GitHub(token)

Client is seemingly the GItHub Auth - we should write in here how to do this without using Actions.

@wesleytodd wesleytodd added bug Something isn't working good first issue Good for newcomers labels Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants