summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/resolver.ts
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-10-02 16:27:36 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-10-02 16:27:36 +0900
commitc09a2a37fe3ab130969dd143b0ee65706871951f (patch)
tree92b3874cd806d135d920192be469a99a4cd4d6dd /src/remote/activitypub/resolver.ts
parent:art: (diff)
downloadmisskey-c09a2a37fe3ab130969dd143b0ee65706871951f.tar.gz
misskey-c09a2a37fe3ab130969dd143b0ee65706871951f.tar.bz2
misskey-c09a2a37fe3ab130969dd143b0ee65706871951f.zip
リモートのピン留め投稿取得対応 (#2798)
* Fetch featured * Handle featured change * Fix typo
Diffstat (limited to 'src/remote/activitypub/resolver.ts')
-rw-r--r--src/remote/activitypub/resolver.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/activitypub/resolver.ts b/src/remote/activitypub/resolver.ts
index e1c12e7e62..215e5e8704 100644
--- a/src/remote/activitypub/resolver.ts
+++ b/src/remote/activitypub/resolver.ts
@@ -19,11 +19,11 @@ export default class Resolver {
switch (collection.type) {
case 'Collection':
- collection.objects = collection.object.items;
+ collection.objects = collection.items;
break;
case 'OrderedCollection':
- collection.objects = collection.object.orderedItems;
+ collection.objects = collection.orderedItems;
break;
default: