]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Server: rename Pods -> Pod
authorChocobozzz <florian.bigard@gmail.com>
Mon, 19 Dec 2016 20:50:20 +0000 (21:50 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Mon, 19 Dec 2016 20:50:20 +0000 (21:50 +0100)
server/controllers/api/remote.js
server/models/pod.js [moved from server/models/pods.js with 100% similarity]

index d856576a9f2ae880c4f134bc4f9b3750566e0d41..a6753a2b08202dde69cc57315d1ff0de5a47b260 100644 (file)
@@ -56,8 +56,6 @@ function addRemoteVideo (videoToCreateData, fromHost, callback) {
   waterfall([
 
     function findOrCreatePod (callback) {
-      fromHost
-
       const query = {
         where: {
           host: fromHost
similarity index 100%
rename from server/models/pods.js
rename to server/models/pod.js