aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-12-19 21:50:20 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-12-19 21:50:20 +0100
commit3897209f46f4c4581be2b8963bf9acc28ca5032b (patch)
tree13b47a4f86e826713602cdd34aebb1ef152ee204
parentfeb4bdfd9b46e87aadfa7c0d5338cde887d1f58c (diff)
downloadPeerTube-3897209f46f4c4581be2b8963bf9acc28ca5032b.tar.gz
PeerTube-3897209f46f4c4581be2b8963bf9acc28ca5032b.tar.zst
PeerTube-3897209f46f4c4581be2b8963bf9acc28ca5032b.zip
Server: rename Pods -> Pod
-rw-r--r--server/controllers/api/remote.js2
-rw-r--r--server/models/pod.js (renamed from server/models/pods.js)0
2 files changed, 0 insertions, 2 deletions
diff --git a/server/controllers/api/remote.js b/server/controllers/api/remote.js
index d856576a9..a6753a2b0 100644
--- a/server/controllers/api/remote.js
+++ b/server/controllers/api/remote.js
@@ -56,8 +56,6 @@ function addRemoteVideo (videoToCreateData, fromHost, callback) {
56 waterfall([ 56 waterfall([
57 57
58 function findOrCreatePod (callback) { 58 function findOrCreatePod (callback) {
59 fromHost
60
61 const query = { 59 const query = {
62 where: { 60 where: {
63 host: fromHost 61 host: fromHost
diff --git a/server/models/pods.js b/server/models/pod.js
index 2c1f56203..2c1f56203 100644
--- a/server/models/pods.js
+++ b/server/models/pod.js