Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"typedoc": "^0.27.6",
"typedoc-plugin-markdown": "4.3.3",
"typedoc-plugin-mdn-links": "4.0.11",
"typedoc-plugin-no-inherit": "^1.5.0"
"typedoc-plugin-no-inherit": "^1.5.0",
"typescript": "5.6.3"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-neon/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function NeonAdapter(client: Pool): Adapter {
}: {
identifier: string
token: string
}): Promise<VerificationToken> {
}): Promise<VerificationToken | null> {
const sql = `delete from verification_token
where identifier = $1 and token = $2
RETURNING identifier, expires, token `
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-pg/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function PostgresAdapter(client: Pool): Adapter {
}: {
identifier: string
token: string
}): Promise<VerificationToken> {
}): Promise<VerificationToken | null> {
const sql = `delete from verification_token
where identifier = $1 and token = $2
RETURNING identifier, expires, token `
Expand Down
Loading
Loading