Skip to content

Commit 8355886

Browse files
committed
docs: update README to use named exports
1 parent a48c51f commit 8355886

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ oidc-provider can be mounted to existing connect, express, fastify, hapi, or koa
9191
various ways to fit a variety of uses. See the [documentation](/docs/README.md) and [example folder](/example).
9292

9393
```js
94-
import Provider from 'oidc-provider'
94+
import { Provider } from 'oidc-provider'
9595
const configuration = {
9696
// refer to the documentation for other available configuration
9797
clients: [

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ If you or your company use this module, or you need help using/upgrading the mod
4545
## Basic configuration example
4646

4747
```js
48-
import Provider from 'oidc-provider'
48+
import { Provider } from 'oidc-provider'
4949
const configuration = {
5050
// ... see the available options in Configuration options section
5151
clients: [

0 commit comments

Comments
 (0)