Refactor & Typo
authorgparant <g.parant@thecodingmachine.com>
Sun, 5 Apr 2020 12:31:49 +0000 (14:31 +0200)
committergparant <g.parant@thecodingmachine.com>
Sun, 5 Apr 2020 12:31:49 +0000 (14:31 +0200)
back/src/App.ts
back/src/Controller/AuthenticateController.ts

index e46f4cb35bbc06e012b9a7fde71a796bddf58706..3b4c049ac5a062356449c90898c8e6c67c041790 100644 (file)
@@ -1,6 +1,6 @@
 // lib/app.ts
-import {IoSocketController} from "./Controller/IoSocketController"; //TODO fix impot by "_Controller/..."
-import {AuthenticateController} from "./Controller/AuthenticateController"; //TODO fix impot by "_Controller/..."
+import {IoSocketController} from "./Controller/IoSocketController"; //TODO fix import by "_Controller/..."
+import {AuthenticateController} from "./Controller/AuthenticateController"; //TODO fix import by "_Controller/..."
 import express from "express";
 import {Application} from 'express';
 import bodyParser = require('body-parser');
index c810ea8a292531dd0dba3b77290a479e54929dbe..08a96fedf7ac2600f177fe4719a7e67c28096bbc 100644 (file)
@@ -1,7 +1,7 @@
 import {Application, Request, Response} from "express";
-import Jwt, {JsonWebTokenError} from "jsonwebtoken";
+import Jwt from "jsonwebtoken";
 import {BAD_REQUEST, OK} from "http-status-codes";
-import {SECRET_KEY, ROOM} from "../Enum/EnvironmentVariable";
+import {SECRET_KEY, ROOM} from "../Enum/EnvironmentVariable"; //TODO fix import by "_Enum/..."
 
 export class AuthenticateController{
     App : Application;