ref #6
This commit is contained in:
parent
c3e3c6bed1
commit
631310f158
@ -7,7 +7,6 @@ import { JwtCreator } from '../../jwtcreator';
|
|||||||
import { User } from '../entities/User';
|
import { User } from '../entities/User';
|
||||||
import { Auth } from '../responses/ResponseAuth';
|
import { Auth } from '../responses/ResponseAuth';
|
||||||
|
|
||||||
|
|
||||||
export class CreateAuth {
|
export class CreateAuth {
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsString()
|
@IsString()
|
||||||
|
@ -3,7 +3,7 @@ import * as jsonwebtoken from 'jsonwebtoken';
|
|||||||
import { getConnectionManager } from 'typeorm';
|
import { getConnectionManager } from 'typeorm';
|
||||||
import { config } from '../../config';
|
import { config } from '../../config';
|
||||||
import { IllegalJWTError, JwtNotProvidedError, RefreshTokenCountInvalidError, UserNotFoundError } from '../../errors/AuthError';
|
import { IllegalJWTError, JwtNotProvidedError, RefreshTokenCountInvalidError, UserNotFoundError } from '../../errors/AuthError';
|
||||||
import { JwtCreator } from "../../JwtCreator";
|
import { JwtCreator } from "../../jwtcreator";
|
||||||
import { User } from '../entities/User';
|
import { User } from '../entities/User';
|
||||||
import { Auth } from '../responses/ResponseAuth';
|
import { Auth } from '../responses/ResponseAuth';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user