Advertisement
sarasfox

Untitled

Jun 6th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. ping = function(){
  2. for(let i = 1;i <= 29;i++){
  3. let out = db.broad_broad.byExample({"location":"space_"+i})toArray()[0]["space_"+i];
  4. var output = {};
  5. var output.push("out");
  6. };
  7. return output;
  8. }
  9. controller.get('/ping', function (req, res) {
  10. var input = req.body();
  11. var output = ping();
  12. res.json("boo");
  13. }).bodyParam('ping', {
  14. description: 'The Broad you want to create',
  15. type: Broad
  16. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement