updated controller of manage-clients
This commit is contained in:
parent
cfa37000e9
commit
1b7d5b8554
@ -22,7 +22,6 @@ export class OracleDBService {
|
||||
|
||||
async getConnection(): Promise<cob> {
|
||||
const connection = await this.pool.getConnection();
|
||||
console.log('Database connection initialized successfully for oracle.');
|
||||
return connection;
|
||||
}
|
||||
}
|
||||
|
||||
@ -71,7 +71,7 @@ export class ManageClientsController {
|
||||
GetPreparerContactsByClientid(
|
||||
@Query() body: GetPreparerByClientidContactsByClientidLocByClientidDTO,
|
||||
) {
|
||||
return body;
|
||||
return this.manageClientsService.GetPreparerContactsByClientid(body);
|
||||
}
|
||||
|
||||
@ApiTags('Manage Clients - Oracle')
|
||||
@ -79,6 +79,6 @@ export class ManageClientsController {
|
||||
GetPreparerLocByClientid(
|
||||
@Query() body: GetPreparerByClientidContactsByClientidLocByClientidDTO,
|
||||
) {
|
||||
return body;
|
||||
return this.manageClientsService.GetPreparerLocByClientid(body);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user