Commit a4534235 authored by r03ert0's avatar r03ert0
Browse files

lint code

parent b8eee723
......@@ -156,7 +156,7 @@ const upload = function (req, res) {
access: 'edit',
created: date.toJSON(),
modified: date.toJSON(),
filename, // Automatically generated filename
filename, // Automatically generated filename
originalname: files[0].originalname,
labels: atlasLabelSet,
owner: username,
......
const express = require('express');
const controller = require('./user.controller');
const router = express.Router();
const router = new express.Router();
router.get('/json', controller.api_userAll);
router.get('/json/:userName', controller.validator, controller.api_user);
......
......@@ -5393,6 +5393,11 @@
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz",
"integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="
},
"webpage": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/webpage/-/webpage-0.3.0.tgz",
"integrity": "sha1-FcjJnoIrSZ6Zga5odlObQjRIuOc="
},
"whatwg-encoding": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.1.tgz",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment