aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/pods.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/api/pods.js b/server/controllers/api/pods.js
index da991f8d9..1c3eefcc1 100644
--- a/server/controllers/api/pods.js
+++ b/server/controllers/api/pods.js
@@ -4,6 +4,7 @@ const express = require('express')
4const waterfall = require('async/waterfall') 4const waterfall = require('async/waterfall')
5 5
6const db = require('../../initializers/database') 6const db = require('../../initializers/database')
7const constants = require('../../initializers/constants')
7const logger = require('../../helpers/logger') 8const logger = require('../../helpers/logger')
8const peertubeCrypto = require('../../helpers/peertube-crypto') 9const peertubeCrypto = require('../../helpers/peertube-crypto')
9const utils = require('../../helpers/utils') 10const utils = require('../../helpers/utils')
@@ -80,7 +81,7 @@ function addPods (req, res, next) {
80 ], function (err, cert) { 81 ], function (err, cert) {
81 if (err) return next(err) 82 if (err) return next(err)
82 83
83 return res.json({ cert: cert }) 84 return res.json({ cert: cert, email: constants.CONFIG.ADMIN.EMAIL })
84 }) 85 })
85} 86}
86 87