From 6180e3356a70e89230dace29dab8d6c1be01f8e5 Mon Sep 17 00:00:00 2001 From: Palash Biswas Date: Tue, 10 Jan 2023 14:37:22 +0530 Subject: [PATCH] BMC: Internel server issue in Login API fixed --- .../src/BCS.BMC.Web.Core/Models/TokenAuth/LoginInputModel.cs | 2 +- .../src/BCS.BMC.Web.Core/Models/TokenAuth/RegistrationInput.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BCS.BMC/src/BCS.BMC.Web.Core/Models/TokenAuth/LoginInputModel.cs b/BCS.BMC/src/BCS.BMC.Web.Core/Models/TokenAuth/LoginInputModel.cs index 12fcc53..af52824 100644 --- a/BCS.BMC/src/BCS.BMC.Web.Core/Models/TokenAuth/LoginInputModel.cs +++ b/BCS.BMC/src/BCS.BMC.Web.Core/Models/TokenAuth/LoginInputModel.cs @@ -9,7 +9,7 @@ namespace BCS.BMC.Models.TokenAuth public class LoginInputModel { public string CompanyUrl { get; set; } - public int? CompanyId { get; set; } + public string CompanyId { get; set; } public string UsernameOrEmailAddress { get; set; } public string Password { get; set; } public string FcmToken { get; set; } diff --git a/BCS.BMC/src/BCS.BMC.Web.Core/Models/TokenAuth/RegistrationInput.cs b/BCS.BMC/src/BCS.BMC.Web.Core/Models/TokenAuth/RegistrationInput.cs index 44841b3..671cf37 100644 --- a/BCS.BMC/src/BCS.BMC.Web.Core/Models/TokenAuth/RegistrationInput.cs +++ b/BCS.BMC/src/BCS.BMC.Web.Core/Models/TokenAuth/RegistrationInput.cs @@ -8,7 +8,7 @@ namespace BCS.BMC.Models.TokenAuth { public class RegistrationInput { - public int? CompanyAccountId { get; set; } + public string CompanyAccountId { get; set; } public string UserNameOrEmail { get; set; } public string Phoneno { get; set; } public string Password { get; set; }