Skip to content

Commit fdbc96a

Browse files
fix: Correct name of Adapter (#12648)
* Correct name of Adapter * Update name in index.test.ts
1 parent af2ccea commit fdbc96a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/adapter-neon/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import type {
2323
} from "@auth/core/adapters"
2424
import type { Pool } from "@neondatabase/serverless"
2525

26-
export default function PostgresAdapter(client: Pool): Adapter {
26+
export default function NeonAdapter(client: Pool): Adapter {
2727
return {
2828
async createVerificationToken(
2929
verificationToken: VerificationToken

packages/adapter-neon/test/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { runBasicTests } from "utils/adapter"
2-
import PostgresAdapter from "../src"
2+
import NeonAdapter from "../src"
33
import { neonConfig, Pool } from "@neondatabase/serverless"
44

55
// Using websockets
@@ -27,7 +27,7 @@ const client = new Pool({
2727
})
2828

2929
runBasicTests({
30-
adapter: PostgresAdapter(client),
30+
adapter: NeonAdapter(client),
3131
db: {
3232
disconnect: async () => {
3333
await client.end()

0 commit comments

Comments
 (0)