Commit bace1bb3 authored by L. Ellenbeck's avatar L. Ellenbeck

Added missing bucketname coscine/issues#209

parent 8bbdb542
......@@ -78,7 +78,7 @@ namespace Coscine.Api.Project.Controllers
if (resource.Type.DisplayName.ToLower() == "rds")
{
authHeader = BuildRdsAuthHeader();
authHeader = BuildRdsAuthHeader(resource.ExternalId);
}
else if (resource.Type.DisplayName.ToLower() == "gitlab")
{
......@@ -131,7 +131,7 @@ namespace Coscine.Api.Project.Controllers
}
}
private string BuildRdsAuthHeader()
private string BuildRdsAuthHeader(string bucketname)
{
var auth = new Dictionary<string, object>();
......@@ -143,7 +143,7 @@ namespace Coscine.Api.Project.Controllers
var settings = new Dictionary<string, object>
{
{ "bucket", "PITLABTTEST" }
{ "bucket", bucketname }
};
var data = new Dictionary<string, object>
......
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