Commit a3bb3674 authored by Eduardo L. Buratti's avatar Eduardo L. Buratti

Fix linting errors

parent ed50105a
......@@ -21,7 +21,7 @@
import * as express from "express";
export class CollectCtrl {
static write(req: express.Request, res: express.Response, next: express.NextFunction) {
public static write(req: express.Request, res: express.Response, next: express.NextFunction) {
if ("_id" in req.body) {
res.status(400)
.json({ message: "Property named \"_id\" is protected." });
......
......@@ -21,7 +21,7 @@
import * as express from "express";
export class DataCtrl {
static read(req: express.Request, res: express.Response, next: express.NextFunction) {
public static read(req: express.Request, res: express.Response, next: express.NextFunction) {
let metrics = req.query.metrics.split(",");
let dimensions = req.query.dimensions.split(",");
......
......@@ -21,7 +21,6 @@
// external libraries
import express = require("express");
import path = require("path");
const osprey = require("osprey");
const ramlParser = require("raml-parser");
......
Markdown is supported
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