diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-10 17:18:12 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-10 17:19:14 +0100 |
commit | 2ccaeeb341ffe8c2609039bf4c6d8835b4650316 (patch) | |
tree | a6bf6e05e7f02bc315e872d67a0b61ad6ad3d777 /server/helpers/custom-validators | |
parent | 759f8a29e95932023564ca98dcbc90d1acb92da0 (diff) | |
download | PeerTube-2ccaeeb341ffe8c2609039bf4c6d8835b4650316.tar.gz PeerTube-2ccaeeb341ffe8c2609039bf4c6d8835b4650316.tar.zst PeerTube-2ccaeeb341ffe8c2609039bf4c6d8835b4650316.zip |
Fetch remote AP objects
Diffstat (limited to 'server/helpers/custom-validators')
-rw-r--r-- | server/helpers/custom-validators/activitypub/video-comments.ts | 3 | ||||
-rw-r--r-- | server/helpers/custom-validators/activitypub/videos.ts | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/server/helpers/custom-validators/activitypub/video-comments.ts b/server/helpers/custom-validators/activitypub/video-comments.ts index ce1209035..cbd4dac5c 100644 --- a/server/helpers/custom-validators/activitypub/video-comments.ts +++ b/server/helpers/custom-validators/activitypub/video-comments.ts | |||
@@ -24,7 +24,8 @@ function isVideoCommentDeleteActivityValid (activity: any) { | |||
24 | 24 | ||
25 | export { | 25 | export { |
26 | isVideoCommentCreateActivityValid, | 26 | isVideoCommentCreateActivityValid, |
27 | isVideoCommentDeleteActivityValid | 27 | isVideoCommentDeleteActivityValid, |
28 | isVideoCommentObjectValid | ||
28 | } | 29 | } |
29 | 30 | ||
30 | // --------------------------------------------------------------------------- | 31 | // --------------------------------------------------------------------------- |
diff --git a/server/helpers/custom-validators/activitypub/videos.ts b/server/helpers/custom-validators/activitypub/videos.ts index 37cd6965a..fb1d2d094 100644 --- a/server/helpers/custom-validators/activitypub/videos.ts +++ b/server/helpers/custom-validators/activitypub/videos.ts | |||
@@ -70,7 +70,8 @@ export { | |||
70 | isVideoTorrentCreateActivityValid, | 70 | isVideoTorrentCreateActivityValid, |
71 | isVideoTorrentUpdateActivityValid, | 71 | isVideoTorrentUpdateActivityValid, |
72 | isVideoTorrentDeleteActivityValid, | 72 | isVideoTorrentDeleteActivityValid, |
73 | isVideoFlagValid | 73 | isVideoFlagValid, |
74 | isVideoTorrentObjectValid | ||
74 | } | 75 | } |
75 | 76 | ||
76 | // --------------------------------------------------------------------------- | 77 | // --------------------------------------------------------------------------- |