From 8fb31d8059ace64148eda26e150bb2158db929ee Mon Sep 17 00:00:00 2001 From: alexeh Date: Mon, 2 Dec 2024 06:35:57 +0100 Subject: [PATCH] cleaning unused imports and leftovers --- admin/datasource.ts | 2 +- admin/resources/projects/projects.resource.ts | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/admin/datasource.ts b/admin/datasource.ts index 6909a410..4aaa52f9 100644 --- a/admin/datasource.ts +++ b/admin/datasource.ts @@ -85,5 +85,5 @@ export const dataSource = new DataSource({ process.env.NODE_ENV === "production" ? { rejectUnauthorized: false } : false, - logging: true, + logging: false, }); diff --git a/admin/resources/projects/projects.resource.ts b/admin/resources/projects/projects.resource.ts index 96e75f8d..184e72ad 100644 --- a/admin/resources/projects/projects.resource.ts +++ b/admin/resources/projects/projects.resource.ts @@ -1,13 +1,5 @@ -import { - ActionContext, - ActionRequest, - ActionResponse, - BaseRecord, - ResourceWithOptions, -} from "adminjs"; -import { dataSource } from "../../datasource.js"; +import { ResourceWithOptions } from "adminjs"; import { Project } from "@shared/entities/projects.entity.js"; -import { Country } from "@shared/entities/country.entity.js"; import { GLOBAL_COMMON_PROPERTIES } from "../common/common.resources.js"; export const ProjectsResource: ResourceWithOptions = {