diff options
author | Thomas Citharel <tcit@tcit.fr> | 2018-11-09 19:32:10 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-11-13 14:51:36 +0100 |
commit | 1cf8aca11dcfec76e72cdb0edfb49bfc2bf4fdd8 (patch) | |
tree | adf678919bd32df4101f42e00bf7b9a09b5c3e6b | |
parent | ebc1984cc6200377d9869e570bc0ad1f95fa74bb (diff) | |
download | PeerTube-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.
-rw-r--r-- | server/helpers/activitypub.ts | 2 |
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', |