Skip to content

Commit

Permalink
tweak copy in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jowo-io committed Oct 20, 2024
1 parent 43a481d commit 70540a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default handler;
### Provider

In your existing `pages/api/auth/[...nextauth].ts` config file, import and add the provider to the providers array.
In your existing `pages/api/auth/[...nextauth].ts` config file, import and add the pubkey providers to the providers array.

```typescript
// @/pages/api/auth/[...nextauth].ts
Expand All @@ -114,8 +114,8 @@ import { lightningProvider, nostrProvider } from "../pubkey/[...pubkey]"; // <--

export const authOptions: AuthOptions = {
providers: [
lightningProvider, // <--- and add the providers to the providers array
nostrProvider, // <--- and add the providers to the providers array
lightningProvider, // <--- add the provider to the providers array
nostrProvider, // <--- add the provider to the providers array
],
};

Expand Down

0 comments on commit 70540a1

Please sign in to comment.