lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
8.35k stars 448 forks source link

docs: correct instance name passed to LibSQLAdapter #1558

Closed efkann closed 2 months ago

efkann commented 2 months ago

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.

pilcrowOnPaper commented 2 months ago

Thanks!