aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/activitypub.ts
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2018-11-09 19:32:10 +0100
committerChocobozzz <me@florianbigard.com>2018-11-13 14:51:36 +0100
commit1cf8aca11dcfec76e72cdb0edfb49bfc2bf4fdd8 (patch)
treeadf678919bd32df4101f42e00bf7b9a09b5c3e6b /server/helpers/activitypub.ts
parentebc1984cc6200377d9869e570bc0ad1f95fa74bb (diff)
downloadPeerTube-1cf8aca11dcfec76e72cdb0edfb49bfc2bf4fdd8.tar.gz
PeerTube-1cf8aca11dcfec76e72cdb0edfb49bfc2bf4fdd8.tar.zst
PeerTube-1cf8aca11dcfec76e72cdb0edfb49bfc2bf4fdd8.zip
Rename context stats to state
I guess it refers to the VideoState enum used here as `state` instead.
Diffstat (limited to 'server/helpers/activitypub.ts')
-rw-r--r--server/helpers/activitypub.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index 278010e78..b0bcfe824 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -24,7 +24,7 @@ function activityPubContextify <T> (data: T) {
24 sensitive: 'as:sensitive', 24 sensitive: 'as:sensitive',
25 language: 'sc:inLanguage', 25 language: 'sc:inLanguage',
26 views: 'sc:Number', 26 views: 'sc:Number',
27 stats: 'sc:Number', 27 state: 'sc:Number',
28 size: 'sc:Number', 28 size: 'sc:Number',
29 fps: 'sc:Number', 29 fps: 'sc:Number',
30 commentsEnabled: 'sc:Boolean', 30 commentsEnabled: 'sc:Boolean',