Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
Project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Labels
Merge Requests
4
Merge Requests
4
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Coscine
B
backend
apis
Project
Commits
994f9263
Commit
994f9263
authored
Nov 20, 2019
by
Marcel Nellesen
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: update/deletion of Files is possible (coscine/issues#464)
parent
4fc3fcc7
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Project/Controllers/DataSourceController.cs
src/Project/Controllers/DataSourceController.cs
+1
-1
No files found.
src/Project/Controllers/DataSourceController.cs
View file @
994f9263
...
...
@@ -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
);
...
...
Ghost User
@ghost
mentioned in commit
548b9675
·
Nov 21, 2019
mentioned in commit
548b9675
mentioned in commit 548b9675d97cb25038f7388d2a28a9a9cd0d548a
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment