diff options
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test/main.js')
-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 be0df6672..84b479548 100644 --- a/server/tests/fixtures/peertube-plugin-test/main.js +++ b/server/tests/fixtures/peertube-plugin-test/main.js | |||
@@ -102,7 +102,7 @@ async function register ({ registerHook, registerSetting, settingsManager, stora | |||
102 | 102 | ||
103 | registerHook({ | 103 | registerHook({ |
104 | target: 'filter:api.user.me.subscription-videos.list.params', | 104 | target: 'filter:api.user.me.subscription-videos.list.params', |
105 | handler: obj => Object.assign({}, obj, { count: 1 }) | 105 | handler: obj => addToCount(obj) |
106 | }) | 106 | }) |
107 | 107 | ||
108 | registerHook({ | 108 | registerHook({ |