Skip to content

Commit

Permalink
Merge pull request #46 from FromDoppler/doi-1123-rename-beplic-urls
Browse files Browse the repository at this point in the history
[DOI-1123] Rename endpoints and url
  • Loading branch information
fgchaio authored Oct 25, 2023
2 parents f40547e + 628c7ce commit 74344eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doppler-beplic/Services/Classes/BeplicService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public async Task<UserCreationResponse> 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)
{
Expand Down Expand Up @@ -96,7 +96,7 @@ public async Task<CustomerUpdateResponse> 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)
{
Expand Down Expand Up @@ -152,7 +152,7 @@ public async Task<UserAdminUpdateResponse> 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)
{
Expand Down
2 changes: 1 addition & 1 deletion doppler-beplic/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"ApiConnection": {
"User": "[email protected]",
"Password": "REPLACE_WITH_PASSWORD",
"BaseUrl": "https://api.beplic.io/v1"
"BaseUrl": "https://app.beplic.io/"
},
"DefaultValues": {
"Customer": {
Expand Down

0 comments on commit 74344eb

Please sign in to comment.