Skip to content

Commit

Permalink
docs(README): .getSignedJsonWebToken() is a synchronous method
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jan 20, 2019
1 parent 8c2a991 commit c9de3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const APP_ID = 1 // replace with your app ID
const PRIVATE_KEY = '-----BEGIN RSA PRIVATE KEY-----\n...' // replace with contents of your private key. Replace line breaks with \n

const app = new App({ id: APP_ID, privateKey: PRIVATE_KEY })
const jwt = await app.getSignedJsonWebToken()
const jwt = app.getSignedJsonWebToken()

// Example of using authenticated app to GET an individual installation
// https://developer.github.com/v3/apps/#find-repository-installation
Expand Down

0 comments on commit c9de3a0

Please sign in to comment.