Skip to content

Commit

Permalink
Fix wrong resource location on header (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
simpat-adam authored Dec 18, 2023
1 parent d9bf031 commit 310037d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,11 @@ public async Task<OdsResponse> PostAndDelete(string content, string endpointUrl,
}
}

var id = deleteLocation.Substring(deleteLocation.LastIndexOf('/') + 1);

while (RetryAttempts > currentAttempt)
{
response = await AuthenticatedHttpClient.Value.DeleteAsync(deleteLocation);
response = await AuthenticatedHttpClient.Value.DeleteAsync($"{endpointUrl}/{id}");
currentAttempt++;

if (response.StatusCode == HttpStatusCode.Unauthorized)
Expand Down
2 changes: 1 addition & 1 deletion DataImport.Web/Features/DataMaps/AddEdit.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ See the LICENSE and NOTICES files in the project root for more information.
color: red;
}
#IsDeleteByNaturalKey {
#IsDeleteByNaturalKeyRadio {
margin-left: 30px;
}
</style>
Expand Down

0 comments on commit 310037d

Please sign in to comment.