Commit d93f4907b869dfebb2ba28be600f447b7d664427
1 parent
4172ba35
Exists in
master
and in
1 other branch
Refactoring the source code of endpoints files
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
endpoints/video.js
@@ -89,6 +89,8 @@ function init(req, res) { | @@ -89,6 +89,8 @@ function init(req, res) { | ||
89 | 89 | ||
90 | requesting.write(data); | 90 | requesting.write(data); |
91 | requesting.end(); | 91 | requesting.end(); |
92 | + | ||
93 | + return; | ||
92 | } | 94 | } |
93 | 95 | ||
94 | var path = url.parse(req.body.callback); | 96 | var path = url.parse(req.body.callback); |
endpoints/video_legenda.js
@@ -101,6 +101,8 @@ function init(req, res) { | @@ -101,6 +101,8 @@ function init(req, res) { | ||
101 | 101 | ||
102 | requesting.write(data); | 102 | requesting.write(data); |
103 | requesting.end(); | 103 | requesting.end(); |
104 | + | ||
105 | + return; | ||
104 | } | 106 | } |
105 | 107 | ||
106 | var path = url.parse(req.body.callback); | 108 | var path = url.parse(req.body.callback); |