Skip to content

Commit c14510e

Browse files
klvenkywolfy1339
andauthored
docs(README): fix usage example for standalone usage to use composeCreateOrUpdateTextFile() (#301)
Co-authored-by: wolfy1339 <[email protected]>
1 parent d560310 commit c14510e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const { updated, deleted, data } = await octokit.createOrUpdateTextFile({
135135
```js
136136
const octokit = new Octokit({ auth: "secret123" });
137137

138-
await { updated, deleted, data } = await createOrUpdateTextFile(octokit, {
138+
await { updated, deleted, data } = await composeCreateOrUpdateTextFile(octokit, {
139139
owner: "octocat",
140140
repo: "hello-world",
141141
path: "test.txt",

0 commit comments

Comments
 (0)