projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebc1984
)
Rename context stats to state
author
Thomas Citharel
<tcit@tcit.fr>
Fri, 9 Nov 2018 18:32:10 +0000
(19:32 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Tue, 13 Nov 2018 13:51:36 +0000
(14:51 +0100)
I guess it refers to the VideoState enum used here as `state` instead.
server/helpers/activitypub.ts
patch
|
blob
|
history
diff --git
a/server/helpers/activitypub.ts
b/server/helpers/activitypub.ts
index 278010e782232cbd567619fd48487028fe0c0e5e..b0bcfe8242b48e9cfd29cb8641e846c02b042183 100644
(file)
--- a/
server/helpers/activitypub.ts
+++ b/
server/helpers/activitypub.ts
@@
-24,7
+24,7
@@
function activityPubContextify <T> (data: T) {
sensitive: 'as:sensitive',
language: 'sc:inLanguage',
views: 'sc:Number',
- stat
s
: 'sc:Number',
+ stat
e
: 'sc:Number',
size: 'sc:Number',
fps: 'sc:Number',
commentsEnabled: 'sc:Boolean',