690322:2132 Fixing Deployment Errors #02
CI / CD Pipeline / build (push) Failing after 6m50s
CI / CD Pipeline / release (push) Has been skipped
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-03-22 21:32:35 +07:00
parent 4dc14aba5b
commit ae019f243a
5 changed files with 4 additions and 7 deletions
+1
View File
@@ -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();
}
@@ -131,8 +131,8 @@ export const seedWorkflowDefinitions = async (dataSource: DataSource) => {
})
);
} catch (_error) {
// Ignore error as logs are removed
}
} else {
}
}
};
@@ -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';
@@ -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';
@@ -96,6 +96,7 @@ async function migrateStorage() {
}
}
} catch (_error) {
// Ignore error as logs are removed
} finally {
await dataSource.destroy();
}