perf: logs

This commit is contained in:
Archer
2023-03-10 22:12:13 +08:00
parent 7fb76cde0b
commit ed9e72ec9a
14 changed files with 50 additions and 51 deletions

View File

@@ -10,7 +10,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
const { authorization } = req.headers;
if (!authorization) {
throw new Error('缺少参数');
throw new Error('缺少登录凭证');
}
const userId = await authToken(authorization);