aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/fixtures/peertube-plugin-test-five
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test-five')
-rw-r--r--server/tests/fixtures/peertube-plugin-test-five/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-five/main.js b/server/tests/fixtures/peertube-plugin-test-five/main.js
index c1435b928..07dd18654 100644
--- a/server/tests/fixtures/peertube-plugin-test-five/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-five/main.js
@@ -4,6 +4,8 @@ async function register ({
4 const router = getRouter() 4 const router = getRouter()
5 router.get('/ping', (req, res) => res.json({ message: 'pong' })) 5 router.get('/ping', (req, res) => res.json({ message: 'pong' }))
6 6
7 router.get('/is-authenticated', (req, res) => res.json({ isAuthenticated: res.locals.authenticated }))
8
7 router.post('/form/post/mirror', (req, res) => { 9 router.post('/form/post/mirror', (req, res) => {
8 res.json(req.body) 10 res.json(req.body)
9 }) 11 })