Skip to content

Commit b9ce58b

Browse files
authoredJun 21, 2022
docs(README): fix example (#470)
1 parent 312c053 commit b9ce58b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ If you need a deep or conditional merge, you can pass a function instead.
271271
```js
272272
const MyOctokit = Octokit.defaults((options) => {
273273
return {
274-
foo: Object.assign({}, options.foo, { opt2: 1 }),
274+
foo: Object.assign({}, options.foo, { opt1: 1 }),
275275
};
276276
});
277277
const octokit = new MyOctokit({

0 commit comments

Comments
 (0)
Please sign in to comment.