diff options
Diffstat (limited to 'server/controllers/api/pods.js')
-rw-r--r-- | server/controllers/api/pods.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/pods.js b/server/controllers/api/pods.js index 79f3f9d8d..d9279f1d9 100644 --- a/server/controllers/api/pods.js +++ b/server/controllers/api/pods.js | |||
@@ -113,7 +113,7 @@ function removePods (req, res, next) { | |||
113 | db.Pod.loadByHost(host, callback) | 113 | db.Pod.loadByHost(host, callback) |
114 | }, | 114 | }, |
115 | 115 | ||
116 | function removePod (pod, callback) { | 116 | function deletePod (pod, callback) { |
117 | pod.destroy().asCallback(callback) | 117 | pod.destroy().asCallback(callback) |
118 | } | 118 | } |
119 | ], function (err) { | 119 | ], function (err) { |