change endPoint
This commit is contained in:
parent
c60c647a81
commit
0495d0f647
1 changed files with 3 additions and 3 deletions
|
|
@ -12305,7 +12305,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
|||
// create new profile
|
||||
foreach (var profile in profiles)
|
||||
{
|
||||
var apiUrl = $"{_baseAPI}/org/profile/all";
|
||||
var apiUrl = $"{_baseAPI}/org/profile/all/dump-db";
|
||||
var profileId = string.Empty;
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
|
|
@ -12580,7 +12580,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
|||
|
||||
if (profile.Leaves.Count > 0)
|
||||
{
|
||||
var apiUrlLeave = $"{_baseAPI}/org/profile/leave";
|
||||
var apiUrlLeave = $"{_baseAPI}/org/profile/leave/dump-db";
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||
|
|
@ -12735,7 +12735,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
|||
|
||||
if (profile.Insignias.Count > 0)
|
||||
{
|
||||
var apiUrlInsig = $"{_baseAPI}/org/profile/insignia";
|
||||
var apiUrlInsig = $"{_baseAPI}/org/profile/insignia/dump-db";
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue