Skip to content

Commit b897eb4

Browse files
authored
Update README to show that commits are returned rather than branchName
1 parent c59a23a commit b897eb4

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
@@ -22,7 +22,7 @@ Octokit = Octokit.plugin(require("octokit-commit-multiple-files"));
2222

2323
const octokit = new Octokit();
2424

25-
const branchName = await octokit.rest.repos.createOrUpdateFiles({
25+
const commits = await octokit.rest.repos.createOrUpdateFiles({
2626
owner,
2727
repo,
2828
branch,

0 commit comments

Comments
 (0)