Commit 994f9263 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

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

parent 4fc3fcc7
......@@ -230,7 +230,7 @@ namespace Coscine.Api.Project.Controllers
// 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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment