Skip to content

Commit 767e2e4

Browse files
committed
chore: update README
1 parent 4a97963 commit 767e2e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { Client } from 'gas-github'
1313

1414
declare let global: any
1515

16-
function openIssue() {
16+
function createIssue() {
1717
const client = new Client('org', 'repo','token')
18-
const issueNo = client.openIssue({title: 'test', body: 'body', labels: ['bug', 'documentation']})
18+
const issueNo = client.createIssue({title: 'test', body: 'body', labels: ['bug', 'documentation']})
1919

2020
Logger.log(`issue created: ${issueNo}`)
2121
}

0 commit comments

Comments
 (0)