docs: correct instance name passed to LibSQLAdapter #1558
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, docs for SQLite at https://lucia-auth.com/database/sqlite shows a description under LibSQL as:
LibSQLAdapter takes a D1Database instance and a list of table names.
However, we pass a Client instance to it.
https://github.com/lucia-auth/lucia/blob/d285a08dc2eda428236a1b267b19c01886e786ad/packages/adapter-sqlite/src/drivers/libsql.ts#L7C18-L7C24
This PR fixes it.