Skip to content
Snippets Groups Projects
Commit a3bb3674 authored by Eduardo L. Buratti's avatar Eduardo L. Buratti
Browse files

Fix linting errors

parent ed50105a
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment