forked from mirrors/misskey
refactor: migrate to typeorm 3.0 (#8443)
* wip * wip * wip * Update following.ts * wip * wip * wip * Update resolve-user.ts * maxQueryExecutionTime * wip * wip
This commit is contained in:
@@ -99,7 +99,7 @@ router.get(webFingerPath, async ctx => {
|
||||
return;
|
||||
}
|
||||
|
||||
const user = await Users.findOne(query);
|
||||
const user = await Users.findOneBy(query);
|
||||
|
||||
if (user == null) {
|
||||
ctx.status = 404;
|
||||
|
||||
Reference in New Issue
Block a user