mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-18 15:03:43 +08:00
初次优化认证-查询已存在用户时逻辑问题
This commit is contained in:
@@ -10,7 +10,7 @@ async function handle(
|
||||
try {
|
||||
const request_data = await req.json();
|
||||
if (request_data?.userName) {
|
||||
await insertUser({ name: request_data?.userName });
|
||||
await insertUser({ name: request_data?.name, email: request_data?.name });
|
||||
}
|
||||
// console.log("===========4", request_data);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user