diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-06 15:59:12 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-06 15:59:12 +0100 |
commit | 6f3fe96f4003fd9ad198cdf0ee5a47b32e9e6568 (patch) | |
tree | a3f1f541abec41abee96df9960cbe2b2a6c3ba86 /server/tests/fixtures/peertube-plugin-test/main.js | |
parent | 349be1eaa9a61b2e2acaa24db58acb95774c0d20 (diff) | |
download | PeerTube-6f3fe96f4003fd9ad198cdf0ee5a47b32e9e6568.tar.gz PeerTube-6f3fe96f4003fd9ad198cdf0ee5a47b32e9e6568.tar.zst PeerTube-6f3fe96f4003fd9ad198cdf0ee5a47b32e9e6568.zip |
Add action hooks to user routes
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test/main.js')
-rw-r--r-- | server/tests/fixtures/peertube-plugin-test/main.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test/main.js b/server/tests/fixtures/peertube-plugin-test/main.js index 055884d29..69796ab07 100644 --- a/server/tests/fixtures/peertube-plugin-test/main.js +++ b/server/tests/fixtures/peertube-plugin-test/main.js | |||
@@ -9,7 +9,15 @@ async function register ({ registerHook, registerSetting, settingsManager, stora | |||
9 | 9 | ||
10 | 'action:api.video-thread.created', | 10 | 'action:api.video-thread.created', |
11 | 'action:api.video-comment-reply.created', | 11 | 'action:api.video-comment-reply.created', |
12 | 'action:api.video-comment.deleted' | 12 | 'action:api.video-comment.deleted', |
13 | |||
14 | 'action:api.user.blocked', | ||
15 | 'action:api.user.unblocked', | ||
16 | 'action:api.user.registered', | ||
17 | 'action:api.user.created', | ||
18 | 'action:api.user.deleted', | ||
19 | 'action:api.user.updated', | ||
20 | 'action:api.user.oauth2-got-token' | ||
13 | ] | 21 | ] |
14 | 22 | ||
15 | for (const h of actionHooks) { | 23 | for (const h of actionHooks) { |