diff --git a/app/src/api/user-controller.ts b/app/src/api/user-controller.ts index 88feb16..2feeb3d 100644 --- a/app/src/api/user-controller.ts +++ b/app/src/api/user-controller.ts @@ -3,9 +3,9 @@ import type { Request, Response } from "express"; +import type { Pool } from 'mariadb'; import type { Controller } from '@slovo/api/controller'; import { UserRepository } from '@slovo/domain/repository/user-repository'; -import type { Pool } from 'mariadb'; export class UserController implements Controller { private userRepository: UserRepository; diff --git a/app/src/server.ts b/app/src/server.ts index a051841..09d7a60 100644 --- a/app/src/server.ts +++ b/app/src/server.ts @@ -3,7 +3,7 @@ import express, { type Request, type Response } from "express"; -import { connectionPool } from '@slovo/infrastructure/connection-pool'; +import connectionPool from '@slovo/infrastructure/connection-pool'; const server: Express = express();