From a7b7b28cf1da74ae6828a60eb82c47d014295d1c Mon Sep 17 00:00:00 2001 From: umasoodch Date: Wed, 29 Jun 2022 11:11:49 +0300 Subject: [PATCH] added HMG instead of CS and changed channel id --- .../services/authentication/authentication.service.ts | 6 +++--- .../mowadhafi/hr-request-form/hr-request-form.component.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts index 6d3d299e..6386e538 100644 --- a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts +++ b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts @@ -146,7 +146,7 @@ export class AuthenticationService { mobileType = 'android'; } request.VersionID = 3.7; - request.Channel = 31; + request.Channel = 33; request.LanguageID = TranslatorService.getCurrentLanguageCode(); request.MobileType = mobileType; @@ -228,7 +228,7 @@ export class AuthenticationService { public login(request: LoginRequest, onError: any, errorLabel: string): Observable { this.setPublicFields(request); - request.P_APP_VERSION = "CS"; + request.P_APP_VERSION = "HMG"; return this.con.post(AuthenticationService.login, request, onError, errorLabel); } @@ -485,7 +485,7 @@ export class AuthenticationService { public checkUserAuthentication(request: CheckUserAuthenticationRequest, onError: any, errorLabel: string) : Observable { this.setPublicFields(request); - request.P_APP_VERSION = "CS"; + request.P_APP_VERSION = "HMG"; return this.con.post(AuthenticationService.userChecking, request, onError, errorLabel); } diff --git a/Mohem/src/app/mowadhafi/hr-request-form/hr-request-form.component.ts b/Mohem/src/app/mowadhafi/hr-request-form/hr-request-form.component.ts index 1ec8c7ed..6f4702f3 100644 --- a/Mohem/src/app/mowadhafi/hr-request-form/hr-request-form.component.ts +++ b/Mohem/src/app/mowadhafi/hr-request-form/hr-request-form.component.ts @@ -35,7 +35,7 @@ export class HrRequestFormComponent implements OnInit { public searchKeySelect = 'Complaints'; myColor: string = 'secondary'; public showRequestDetails = false; - public proID = "CS" + public proID = "HMG" public inquiry: string; public HR: string; public complaints: string;