Skip to content

Commit

Permalink
Merge pull request #633 from nhsconnect/develop
Browse files Browse the repository at this point in the history
Further mods
  • Loading branch information
ChristopherJamesMorris authored Jun 20, 2024
2 parents b230b26 + cba3e7b commit e023c61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/src/DTO/Request/ReportInteractionRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class ReportInteractionRequest
public List<string>? Workflow { get; set; }
public string? ReportName { get; set; } = null;
public string? ReportId { get; set; } = null;
public Guid MessageGroupId { get; set; }
public Guid? MessageGroupId { get; set; } = Guid.NewGuid();
}
2 changes: 2 additions & 0 deletions modules/function/src/CapabilityReportEventFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ await Parallel.ForEachAsync(messagingRequests, _parallelOptions, async (messagin
Encoding.UTF8,
MediaTypeHeaderValue.Parse("application/json").MediaType);

_lambdaContext.Logger.LogLine(await json.ReadAsStringAsync());

await _httpClient.PostWithHeadersAsync("/reporting/createinteractionmessage", new Dictionary<string, string>()
{
[Headers.UserId] = _endUserConfiguration.UserId,
Expand Down

0 comments on commit e023c61

Please sign in to comment.