aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/pods.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-19 10:43:54 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-19 10:43:54 +0200
commitbda65bdc9f3ce7d4b6e97cb9afaca25b71added3 (patch)
tree812d3035b3aa97862a050e92301840e4f2545ae2 /server/controllers/api/pods.ts
parent10db166bbe510af27cb20cc0f028537af0df9c41 (diff)
downloadPeerTube-bda65bdc9f3ce7d4b6e97cb9afaca25b71added3.tar.gz
PeerTube-bda65bdc9f3ce7d4b6e97cb9afaca25b71added3.tar.zst
PeerTube-bda65bdc9f3ce7d4b6e97cb9afaca25b71added3.zip
Fix pod removal when it is down
Diffstat (limited to 'server/controllers/api/pods.ts')
-rw-r--r--server/controllers/api/pods.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/pods.ts b/server/controllers/api/pods.ts
index ec94efc35..804aa0659 100644
--- a/server/controllers/api/pods.ts
+++ b/server/controllers/api/pods.ts
@@ -83,6 +83,6 @@ function removeFriendController (req: express.Request, res: express.Response, ne
83 const pod = res.locals.pod as PodInstance 83 const pod = res.locals.pod as PodInstance
84 84
85 removeFriend(pod) 85 removeFriend(pod)
86 .then(() => (res.type('json').status(204).end())) 86 .then(() => res.type('json').status(204).end())
87 .catch(err => next(err)) 87 .catch(err => next(err))
88} 88}