Commit d93f4907b869dfebb2ba28be600f447b7d664427

Authored by dhuy
1 parent 4172ba35
Exists in master and in 1 other branch devel

Refactoring the source code of endpoints files

endpoints/video.js
... ... @@ -89,6 +89,8 @@ function init(req, res) {
89 89  
90 90 requesting.write(data);
91 91 requesting.end();
  92 +
  93 + return;
92 94 }
93 95  
94 96 var path = url.parse(req.body.callback);
... ...
endpoints/video_legenda.js
... ... @@ -101,6 +101,8 @@ function init(req, res) {
101 101  
102 102 requesting.write(data);
103 103 requesting.end();
  104 +
  105 + return;
104 106 }
105 107  
106 108 var path = url.parse(req.body.callback);
... ...