mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-07 23:43:30 +08:00
fix
This commit is contained in:
parent
3e50aabe57
commit
6f20d8d623
@ -18,7 +18,7 @@ class _UserModel extends BaseModel {
|
|||||||
|
|
||||||
const list = (await this.table.toArray()) as (DB_User & { id: number })[];
|
const list = (await this.table.toArray()) as (DB_User & { id: number })[];
|
||||||
|
|
||||||
returnList[0];
|
return list[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
create = async (user: DB_User) => {
|
create = async (user: DB_User) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user