Skip to content
Snippets Groups Projects
Commit 994f9263 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Fix: update/deletion of Files is possible (coscine/issues#464)

parent 4fc3fcc7
No related branches found
No related tags found
1 merge request!34Fix: update/deletion of Files is possible (coscine/issues#464)
......@@ -230,7 +230,7 @@ namespace Coscine.Api.Project.Controllers
else
{
// If the path is null, an empty string is added.
string url = $"{_configuration.GetString("coscine/global/waterbutler_url")}{resource.Type.DisplayName.ToLower()}/{path}";
string url = $"{_configuration.GetString("coscine/global/waterbutler_url")}{resource.Type.DisplayName.ToLower()}{path}";
var request = new HttpRequestMessage(HttpMethod.Delete, url);
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", authHeader);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment