"use strict";
let env = process.env.NODE_ENV || "development";

///flickr/photos/smartbrother/?tags=[\"featured\"]
let routes = function(app) {
    app.get("/api/flickr/photos/:userid",
        function(req, res) {
            return res.status(200).send({"result": "ok"});
        });
};

module.exports = routes;
@@ -1,155 +1,76 @@
-%22use strict%22;%0Alet env = process.env.NODE_ENV %7C%7C %22development%22;%0A%0A///flickr/photos/smartbrother/?tags=%5B%5C%22featured%5C%22%5D%0Alet routes = function(app) %7B%0A    app
+var express = require('express');%0Avar router = express.Router();%0A%0Arouter
 .get
@@ -99,24 +99,16 @@
 userid%22,
-%0A       
  functio
@@ -121,16 +121,22 @@
  res
+, next
 ) %7B%0A    
     
@@ -135,23 +135,8 @@
     
-        return 
 res.
@@ -150,16 +150,25 @@
 200)
+;%0A    res
 .send(%7B%22
 resu
@@ -167,25 +167,24 @@
 d(%7B%22
-result
+status
 %22:
- 
 %22ok%22%7D);%0A
     
@@ -183,21 +183,10 @@
 %7D);%0A
-        %7D);%0A
 %7D
+)
 ;%0A%0Am
@@ -210,6 +210,7 @@
 oute
-s;
+r;%0A

use modern router syntax