Unverified Commit 057c4126 authored by Tushar's avatar Tushar Committed by GitHub
Browse files

Update app.service.ts

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -131,7 +131,7 @@ export class AppService {
async getTutorById(id: string) {
const db = await this.dbConnection.connect();
const res = await db.query(
`Select * from test.dbo.Master_Tutor_Basic_Info where TutorKey='${id}'`,
`Select * from upsmfac_casa.dbo.Master_Tutor_Basic_Info where TutorKey='${id}'`,
);
return res.recordset[0];
}
......@@ -139,7 +139,7 @@ export class AppService {
async getStudentById(id: string) {
const db = await this.dbConnection.connect();
const res = await db.query(
`Select * from test.dbo.Master_StudentProfile where StudentProfileKey='${id}'`,
`Select * from upsmfac_casa.dbo.Master_StudentProfile where StudentProfileKey='${id}'`,
);
return res.recordset[0];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment