Improve readability
This commit is contained in:
parent
54a87b25b3
commit
9b05b6ef28
|
@ -36,7 +36,8 @@ export default async (job: Bull.Job): Promise<void> => {
|
|||
if (keyIdLower.startsWith('acct:')) {
|
||||
logger.warn(`Old keyId is no longer supported. ${keyIdLower}`);
|
||||
return;
|
||||
} else {
|
||||
}
|
||||
|
||||
// アクティビティ内のホストの検証
|
||||
const host = toPuny(new URL(signature.keyId).hostname);
|
||||
try {
|
||||
|
@ -71,7 +72,6 @@ export default async (job: Bull.Job): Promise<void> => {
|
|||
|
||||
key = await UserPublickeys.findOne(user.id).then(ensure);
|
||||
}
|
||||
}
|
||||
|
||||
// Update Person activityの場合は、ここで署名検証/更新処理まで実施して終了
|
||||
if (activity.type === 'Update') {
|
||||
|
|
Loading…
Reference in New Issue