Skip to content

Commit b8c6351

Browse files
authored
Updating API example for initializing ES6-variant of Patch (#47)
1 parent 30456e9 commit b8c6351

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
@@ -37,7 +37,7 @@ After installing the package, you'll have to configure it with your API key whic
3737
```javascript
3838
// ES6+
3939
import Patch from '@patch-technology/patch';
40-
const patch = Patch('key_test_1234');
40+
const patch = Patch.default('key_test_1234');
4141

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

0 commit comments

Comments
 (0)