mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 20:27:45 +00:00
perf: git
This commit is contained in:
@@ -41,8 +41,8 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse<
|
||||
Authorization: `Bearer ${access_token}`
|
||||
}
|
||||
});
|
||||
const { login, email, avatar_url } = data;
|
||||
const username = email || login;
|
||||
const { login, avatar_url } = data;
|
||||
const username = `git-${login}`;
|
||||
|
||||
try {
|
||||
jsonRes(res, {
|
||||
|
Reference in New Issue
Block a user