Skip to content

Commit

Permalink
remove .default from es6 api key config docs (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikolovsson authored Jan 18, 2022
1 parent 528a953 commit 27aed3a
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 @@ -37,7 +37,7 @@ After installing the package, you'll have to configure it with your API key whic
```javascript
// ES6+
import Patch from '@patch-technology/patch';
const patch = Patch.default('key_test_1234');
const patch = Patch('key_test_1234');

// ES5
var patch = require('@patch-technology/patch').default('key_test_1234');
Expand Down

0 comments on commit 27aed3a

Please sign in to comment.