Skip to content

Commit

Permalink
fix: import path typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdoBnHesham committed Jan 27, 2024
1 parent 572dfd9 commit c794e74
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/mongoose/src/middlewares/auth.middleware.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NextFunction, Response } from 'express';
import { verify } from 'jsonwebtoken';
import { SECRET_KEY } from '@config';
import { HttpException } from '@exceptions/httpException';
import { HttpException } from '@exceptions/HttpException';
import { DataStoredInToken, RequestWithUser } from '@interfaces/auth.interface';
import { UserModel } from '@models/users.model';

Expand Down
2 changes: 1 addition & 1 deletion lib/mongoose/src/middlewares/error.middleware.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NextFunction, Request, Response } from 'express';
import { HttpException } from '@exceptions/httpException';
import { HttpException } from '@exceptions/HttpException';
import { logger } from '@utils/logger';

export const ErrorMiddleware = (error: HttpException, req: Request, res: Response, next: NextFunction) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/mongoose/src/middlewares/validation.middleware.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { plainToInstance } from 'class-transformer';
import { validateOrReject, ValidationError } from 'class-validator';
import { NextFunction, Request, Response } from 'express';
import { HttpException } from '@exceptions/httpException';
import { HttpException } from '@exceptions/HttpException';

/**
* @name ValidationMiddleware
Expand Down
2 changes: 1 addition & 1 deletion lib/mongoose/src/services/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { hash, compare } from 'bcrypt';
import { sign } from 'jsonwebtoken';
import { Service } from 'typedi';
import { SECRET_KEY } from '@config';
import { HttpException } from '@exceptions/httpException';
import { HttpException } from '@exceptions/HttpException';
import { DataStoredInToken, TokenData } from '@interfaces/auth.interface';
import { User } from '@interfaces/users.interface';
import { UserModel } from '@models/users.model';
Expand Down
2 changes: 1 addition & 1 deletion lib/mongoose/src/services/users.service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { hash } from 'bcrypt';
import { Service } from 'typedi';
import { HttpException } from '@exceptions/httpException';
import { HttpException } from '@exceptions/HttpException';
import { User } from '@interfaces/users.interface';
import { UserModel } from '@models/users.model';

Expand Down

0 comments on commit c794e74

Please sign in to comment.