diff options
author | Wicklow <123956049+wickloww@users.noreply.github.com> | 2023-03-02 13:50:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 14:50:55 +0100 |
commit | 692ae8c31caa5a404142c9f46e03fdc8dc5b233f (patch) | |
tree | 17d12edb5cfbfeddff2fd6f0d85b11c8954da89e /server/tests/fixtures/peertube-plugin-test | |
parent | c0a4982ebe27c89f296a0bbd518e938f09d1f054 (diff) | |
download | PeerTube-692ae8c31caa5a404142c9f46e03fdc8dc5b233f.tar.gz PeerTube-692ae8c31caa5a404142c9f46e03fdc8dc5b233f.tar.zst PeerTube-692ae8c31caa5a404142c9f46e03fdc8dc5b233f.zip |
Hotfix/filter subscription videos (#5665)
* Fix filters on subscription videos
* Add tests to common video filters
* Improve reliability when skipping subscrition path
* Better parameters for skipping subscription videos
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test')
-rw-r--r-- | server/tests/fixtures/peertube-plugin-test/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test/main.js b/server/tests/fixtures/peertube-plugin-test/main.js index 8b918b634..f01da0226 100644 --- a/server/tests/fixtures/peertube-plugin-test/main.js +++ b/server/tests/fixtures/peertube-plugin-test/main.js | |||
@@ -91,7 +91,7 @@ async function register ({ registerHook, registerSetting, settingsManager, stora | |||
91 | 91 | ||
92 | registerHook({ | 92 | registerHook({ |
93 | target: 'filter:api.user.me.subscription-videos.list.params', | 93 | target: 'filter:api.user.me.subscription-videos.list.params', |
94 | handler: obj => Object.assign({}, obj, { count: 1 }) | 94 | handler: obj => addToCount(obj) |
95 | }) | 95 | }) |
96 | 96 | ||
97 | registerHook({ | 97 | registerHook({ |