aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-26 12:02:18 +0100
committerChocobozzz <me@florianbigard.com>2018-01-26 13:43:34 +0100
commit7acee6f18aac99e359360fc4f2362d5405135a79 (patch)
treea8eceaba9a01b913fcfca32f17f26b4f588a633e /shared
parentd6e99e5322209a692cc3d870ddb5dcedbda69f2a (diff)
downloadPeerTube-7acee6f18aac99e359360fc4f2362d5405135a79.tar.gz
PeerTube-7acee6f18aac99e359360fc4f2362d5405135a79.tar.zst
PeerTube-7acee6f18aac99e359360fc4f2362d5405135a79.zip
Fix announce activities
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/activity.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts
index aa25db446..a28260ffd 100644
--- a/shared/models/activitypub/activity.ts
+++ b/shared/models/activitypub/activity.ts
@@ -59,7 +59,7 @@ export interface ActivityReject extends BaseActivity {
59 59
60export interface ActivityAnnounce extends BaseActivity { 60export interface ActivityAnnounce extends BaseActivity {
61 type: 'Announce' 61 type: 'Announce'
62 object: ActivityCreate | string 62 object: string | { id: string }
63} 63}
64 64
65export interface ActivityUndo extends BaseActivity { 65export interface ActivityUndo extends BaseActivity {