Skip to content

Commit

Permalink
fix: poke (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Vaughan authored Mar 13, 2024
1 parent 2df97aa commit cfd642a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DARE-API/Repositories/DbContexts/DataInitaliser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ private void AddMissingUser(Project project, User user)

var submissionUserAttribute = _userService.SetMinioUserAttribute(accessToken, user.Name.ToString(), attributeName, project.SubmissionBucket.ToLower() + "_policy").Result;
var outputUserAttribute = _userService.SetMinioUserAttribute(accessToken, user.Name.ToString(), attributeName, project.OutputBucket.ToLower() + "_policy").Result;

project.Users.Add(user);
}
}
Expand Down
1 change: 1 addition & 0 deletions src/TRE-API/Services/DareSyncHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public async Task<BoolReturn> SyncSubmissionWithTre()
dbprojs.Where(x => x.Archived && subprojs.Any(y => y.Id == x.SubmissionProjectId));
foreach (var project in projectAdds)
{

var submission = project.SubmissionBucket.ToLower() + "tre".Replace("_", "");
var output = project.OutputBucket.ToLower() + "tre".Replace("_", "");
var submissionBucket = await _minioTreHelper.CreateBucket(submission);
Expand Down

0 comments on commit cfd642a

Please sign in to comment.