Compare commits
No commits in common. "b27fee6ece226b7c6c6ec4b0e8a63e6dc3b848ba" and "b17a94342b1bb19cdd9fa758b7d5b6b97f0fecd5" have entirely different histories.
b27fee6ece
...
b17a94342b
@ -77,13 +77,12 @@ async function bootstrap() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// app.useGlobalPipes(new ValidationPipe({ exceptionFactory:customExceptionFactory, whitelist: true, forbidNonWhitelisted: true, transform: true }));
|
// app.useGlobalPipes(new ValidationPipe({ exceptionFactory:customExceptionFactory, whitelist: true, forbidNonWhitelisted: true, transform: true }));
|
||||||
|
|
||||||
const config = new DocumentBuilder()
|
const config = new DocumentBuilder()
|
||||||
.setTitle('API')
|
.setTitle('API')
|
||||||
.setDescription('API description')
|
.setDescription('API description')
|
||||||
.setVersion('1.0')
|
.setVersion('1.0')
|
||||||
.addServer(
|
.addServer(
|
||||||
`https://dev.alphaomegainfosys.com/${process.env.DB_TYPE === "ORACLE" ? "test-api-1" : process.env.DB_TYPE === "PG" ? "test-api-2" : "test-api"}`,
|
'https://dev.alphaomegainfosys.com/test-api',
|
||||||
'Development Server 2',
|
'Development Server 2',
|
||||||
)
|
)
|
||||||
.addServer('http://localhost:3000', 'Development Server 1')
|
.addServer('http://localhost:3000', 'Development Server 1')
|
||||||
|
|||||||
@ -59,11 +59,10 @@ export class UserMaintenanceService {
|
|||||||
|
|
||||||
await client.query('COMMIT');
|
await client.query('COMMIT');
|
||||||
|
|
||||||
// no need for this api
|
checkPgUserDefinedErrors(roleResult);
|
||||||
// checkPgUserDefinedErrors(roleResult);
|
checkPgUserDefinedErrors(menuResult);
|
||||||
// checkPgUserDefinedErrors(menuResult);
|
checkPgUserDefinedErrors(menuPageResult);
|
||||||
// checkPgUserDefinedErrors(menuPageResult);
|
checkPgUserDefinedErrors(userDetailsResult);
|
||||||
// checkPgUserDefinedErrors(userDetailsResult);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
roleDetails: toUpperCaseKeys(roleResult.rows).map(x => x.ROLENAME),
|
roleDetails: toUpperCaseKeys(roleResult.rows).map(x => x.ROLENAME),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user