แก้env

This commit is contained in:
Kittapath 2024-07-09 00:05:17 +07:00
parent 9ebed7e92f
commit b481af7ef5
6 changed files with 6 additions and 9 deletions

View file

@ -212,7 +212,7 @@ namespace BMA.EHR.Recruit.Service.Services
{ {
var IsOfficer = false; var IsOfficer = false;
dynamic org = null; dynamic org = null;
var apiUrl = $"{_configuration["API"]}org/profile/citizenid/position/{candidate.CitizenId}"; var apiUrl = $"{_configuration["API"]}/org/profile/citizenid/position/{candidate.CitizenId}";
using (var client = new HttpClient()) using (var client = new HttpClient())
{ {
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", "")); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));

View file

@ -32,5 +32,5 @@
"SecretKey": "vKTpcxY0Wjjp775aDwNn1q6VWJu8EFb6", "SecretKey": "vKTpcxY0Wjjp775aDwNn1q6VWJu8EFb6",
"BucketName": "bma-recruit" "BucketName": "bma-recruit"
}, },
"API": "https://bma-ehr.frappet.synology.me/api/v1/" "API": "https://bma-ehr.frappet.synology.me/api/v1"
} }

View file

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:4.0.30319.42000
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@ -15,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("BMA.EHR.Recruit.Service")] [assembly: System.Reflection.AssemblyCompanyAttribute("BMA.EHR.Recruit.Service")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6b31a2a4a5a8faf1c7d9c5c2fe61f55ffb44e756")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("BMA.EHR.Recruit.Service")] [assembly: System.Reflection.AssemblyProductAttribute("BMA.EHR.Recruit.Service")]
[assembly: System.Reflection.AssemblyTitleAttribute("BMA.EHR.Recruit.Service")] [assembly: System.Reflection.AssemblyTitleAttribute("BMA.EHR.Recruit.Service")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View file

@ -1 +1 @@
c472f9714a12fb2cc28eca56ab89fa64d8125d56e8a735170568a60b84b746f2 512d09f9200e77331649224c21826598aa475d21

View file

@ -9,11 +9,9 @@ build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = BMA.EHR.Recruit.Service build_property.RootNamespace = BMA.EHR.Recruit.Service
build_property.RootNamespace = BMA.EHR.Recruit.Service build_property.RootNamespace = BMA.EHR.Recruit.Service
build_property.ProjectDir = D:\Develop\Source\BMA-EHR-RECRUIT-SERVICE\ build_property.ProjectDir = d:\BMA-EHR-RECRUIT-SERVICE\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 7.0 build_property.RazorLangVersion = 7.0
build_property.SupportLocalizedComponentNames = build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes = build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = D:\Develop\Source\BMA-EHR-RECRUIT-SERVICE build_property.MSBuildProjectDirectory = d:\BMA-EHR-RECRUIT-SERVICE
build_property._RazorSourceGeneratorDebug = build_property._RazorSourceGeneratorDebug =