projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2f99e
)
Return with a callback function
author
Chocobozzz
<florian.bigard@gmail.com>
Sun, 7 Feb 2016 11:02:26 +0000
(12:02 +0100)
committer
Chocobozzz
<florian.bigard@gmail.com>
Sun, 7 Feb 2016 11:02:26 +0000
(12:02 +0100)
middlewares/reqValidators/pods.js
patch
|
blob
|
history
diff --git
a/middlewares/reqValidators/pods.js
b/middlewares/reqValidators/pods.js
index 7d1612ddefc9b8aae1fdd34b12d30fd124f1c259..ef09d51cf84e2a4d119803c1662544e9100cdd68 100644
(file)
--- a/
middlewares/reqValidators/pods.js
+++ b/
middlewares/reqValidators/pods.js
@@
-20,7
+20,7
@@
function makeFriends (req, res, next) {
// We need to quit our friends before make new ones
res.sendStatus(409)
} else {
- next()
+
return
next()
}
})
}