From 628c7ce721667caef0be9a92cdb70fecb6fdd758 Mon Sep 17 00:00:00 2001 From: fgonzalez Date: Wed, 25 Oct 2023 14:23:49 -0300 Subject: [PATCH] chore: rename endpoints --- doppler-beplic/Services/Classes/BeplicService.cs | 6 +++--- doppler-beplic/appsettings.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doppler-beplic/Services/Classes/BeplicService.cs b/doppler-beplic/Services/Classes/BeplicService.cs index 8483a1a..c8fa64b 100644 --- a/doppler-beplic/Services/Classes/BeplicService.cs +++ b/doppler-beplic/Services/Classes/BeplicService.cs @@ -44,7 +44,7 @@ public async Task CreateUser(UserCreationDTO accountData) try { - var response = await _sdk.ExecuteResource("/services/beplicconfigurationintegra/v1/integra/customers", accountData, RestSharp.Method.Post); + var response = await _sdk.ExecuteResource("/services/beplicpartners/v1/integra/customers", accountData, RestSharp.Method.Post); if (response.IsSuccessStatusCode) { @@ -96,7 +96,7 @@ public async Task UpdateCustomer(CustomerUpdateDTO custo try { - var response = await _sdk.ExecuteResource("/services/beplicconfigurationintegra/v1/integra/customers", customerData, RestSharp.Method.Put); + var response = await _sdk.ExecuteResource("/services/beplicpartners/v1/integra/customers", customerData, RestSharp.Method.Put); if (response.IsSuccessStatusCode) { @@ -152,7 +152,7 @@ public async Task UpdateUserAdmin(UserAdminUpdateDTO us try { - var response = await _sdk.ExecuteResource("/services/beplicconfigurationintegra/v1/integra/user", userAdminData, RestSharp.Method.Put); + var response = await _sdk.ExecuteResource("/services/beplicpartners/v1/integra/user", userAdminData, RestSharp.Method.Put); if (response.IsSuccessStatusCode) { diff --git a/doppler-beplic/appsettings.json b/doppler-beplic/appsettings.json index 3e9ad90..f8d9b56 100644 --- a/doppler-beplic/appsettings.json +++ b/doppler-beplic/appsettings.json @@ -15,7 +15,7 @@ "ApiConnection": { "User": "integraciones@fromdoppler.com", "Password": "REPLACE_WITH_PASSWORD", - "BaseUrl": "https://api.beplic.io/v1" + "BaseUrl": "https://app.beplic.io/" }, "DefaultValues": { "Customer": {