removing unused imports
This commit is contained in:
parent
f86b59e5bc
commit
86110a4272
@ -4,7 +4,6 @@ import { Request, Response } from "express";
|
|||||||
import Client from "../../models/client";
|
import Client from "../../models/client";
|
||||||
import Logging from "@hibas123/nodelogging";
|
import Logging from "@hibas123/nodelogging";
|
||||||
import Permission, { IPermission } from "../../models/permissions";
|
import Permission, { IPermission } from "../../models/permissions";
|
||||||
import { Sequelize } from "sequelize-typescript";
|
|
||||||
import ClientCode from "../../models/client_code";
|
import ClientCode from "../../models/client_code";
|
||||||
import moment = require("moment");
|
import moment = require("moment");
|
||||||
import { randomBytes } from "crypto";
|
import { randomBytes } from "crypto";
|
||||||
|
@ -13,7 +13,6 @@ import { randomBytes } from "crypto";
|
|||||||
import moment = require("moment");
|
import moment = require("moment");
|
||||||
import { JWTExpDur } from "../../keys";
|
import { JWTExpDur } from "../../keys";
|
||||||
import RefreshToken from "../../models/refresh_token";
|
import RefreshToken from "../../models/refresh_token";
|
||||||
import { Promise } from "bluebird";
|
|
||||||
|
|
||||||
const RefreshTokenRoute = Stacker(GetClientAuthMiddleware(false, false, true), async (req: Request, res: Response) => {
|
const RefreshTokenRoute = Stacker(GetClientAuthMiddleware(false, false, true), async (req: Request, res: Response) => {
|
||||||
let code = req.query.code || req.body.code;
|
let code = req.query.code || req.body.code;
|
||||||
|
Loading…
Reference in New Issue
Block a user