diff options
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({ |