This commit is contained in:
syuilo 2022-03-26 19:33:18 +09:00
parent 54e1c7f60e
commit b6f1766443

View file

@ -148,7 +148,7 @@ router.get('/users/:user/publickey', async ctx => {
});
// user
async function userInfo(ctx: Router.RouterContext, user: User | undefined | null) {
async function userInfo(ctx: Router.RouterContext, user: User | null) {
if (user == null) {
ctx.status = 404;
return;