diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-08 05:02:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-08 05:02:50 +0900 |
| commit | 5ddb047794bb3aaef250c15dfbae56872faedfd9 (patch) | |
| tree | 341f26c4b48054c3ee89143f6f8786210c1484d0 /src/remote/activitypub/resolve-person.ts | |
| parent | Fix bugs (diff) | |
| download | misskey-5ddb047794bb3aaef250c15dfbae56872faedfd9.tar.gz misskey-5ddb047794bb3aaef250c15dfbae56872faedfd9.tar.bz2 misskey-5ddb047794bb3aaef250c15dfbae56872faedfd9.zip | |
Fix bugs
Diffstat (limited to 'src/remote/activitypub/resolve-person.ts')
| -rw-r--r-- | src/remote/activitypub/resolve-person.ts | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/remote/activitypub/resolve-person.ts b/src/remote/activitypub/resolve-person.ts index ac0900307f..ddb8d68715 100644 --- a/src/remote/activitypub/resolve-person.ts +++ b/src/remote/activitypub/resolve-person.ts @@ -66,14 +66,12 @@ export default async (value, verifier?: string) => { usernameLower: object.preferredUsername.toLowerCase(), host, hostLower, - account: { - publicKey: { - id: object.publicKey.id, - publicKeyPem: object.publicKey.publicKeyPem - }, - inbox: object.inbox, - uri: id, + publicKey: { + id: object.publicKey.id, + publicKeyPem: object.publicKey.publicKeyPem }, + inbox: object.inbox, + uri: id }); const [avatarId, bannerId] = (await Promise.all([ |