diff --git a/backend/src/database/seeds/run-seed.ts b/backend/src/database/seeds/run-seed.ts index 27102b9..8699cc5 100644 --- a/backend/src/database/seeds/run-seed.ts +++ b/backend/src/database/seeds/run-seed.ts @@ -13,6 +13,7 @@ async function runSeeds() { await seedOrganizations(dataSource); await seedUsers(dataSource); } catch (_error) { + // Ignore error as logs are removed } finally { await dataSource.destroy(); } diff --git a/backend/src/database/seeds/workflow-definitions.seed.ts b/backend/src/database/seeds/workflow-definitions.seed.ts index a453d29..1f3fec0 100644 --- a/backend/src/database/seeds/workflow-definitions.seed.ts +++ b/backend/src/database/seeds/workflow-definitions.seed.ts @@ -131,8 +131,8 @@ export const seedWorkflowDefinitions = async (dataSource: DataSource) => { }) ); } catch (_error) { + // Ignore error as logs are removed } - } else { } } }; diff --git a/backend/src/modules/contract/contract.controller.ts b/backend/src/modules/contract/contract.controller.ts index 901cb9b..e435ca5 100644 --- a/backend/src/modules/contract/contract.controller.ts +++ b/backend/src/modules/contract/contract.controller.ts @@ -9,11 +9,7 @@ import { UseGuards, Query, } from '@nestjs/common'; -import { - ApiTags, - ApiOperation, - ApiBearerAuth, -} from '@nestjs/swagger'; +import { ApiTags, ApiOperation, ApiBearerAuth } from '@nestjs/swagger'; import { ContractService } from './contract.service.js'; import { CreateContractDto } from './dto/create-contract.dto.js'; import { UpdateContractDto } from './dto/update-contract.dto.js'; diff --git a/backend/src/modules/notification/notification.service.ts b/backend/src/modules/notification/notification.service.ts index 7aefdc4..ca4e2ec 100644 --- a/backend/src/modules/notification/notification.service.ts +++ b/backend/src/modules/notification/notification.service.ts @@ -9,7 +9,6 @@ import { Repository } from 'typeorm'; // Entities import { Notification, NotificationType } from './entities/notification.entity'; import { User } from '../user/entities/user.entity'; -import { UserPreference } from '../user/entities/user-preference.entity'; // Gateway import { NotificationGateway } from './notification.gateway'; diff --git a/backend/src/scripts/migrate-storage-v2.ts b/backend/src/scripts/migrate-storage-v2.ts index 89b7b2b..64260db 100644 --- a/backend/src/scripts/migrate-storage-v2.ts +++ b/backend/src/scripts/migrate-storage-v2.ts @@ -96,6 +96,7 @@ async function migrateStorage() { } } } catch (_error) { + // Ignore error as logs are removed } finally { await dataSource.destroy(); }