From 057c412626336dd0267753f977e19ce6b543eec8 Mon Sep 17 00:00:00 2001 From: Tushar <30565750+tushar5526@users.noreply.github.com> Date: Mon, 3 Apr 2023 13:29:05 +0530 Subject: [PATCH] Update app.service.ts --- src/app.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.service.ts b/src/app.service.ts index ec06161..afcceba 100644 --- a/src/app.service.ts +++ b/src/app.service.ts @@ -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]; } -- GitLab