Skip to content

Commit

Permalink
Update DatabricksJobsHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
FirestarJes committed Sep 13, 2024
1 parent 1d90830 commit 67b03b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private async Task<Job> GetSettlementReportsJobAsync(string jobName)

private RunParameters CreateParameters(SettlementReportRequestDto request, MarketRole marketRole, SettlementReportRequestId reportId)
{
var gridAreas = $"{{{string.Join(", ", request.Filter.GridAreas.Select(c => $"\"{c.Key}\": \"{c.Value}\""))}}}";
var gridAreas = $"{{{string.Join(", ", request.Filter.GridAreas.Select(c => $"\"{c.Key}\": \"{(c.Value is null ? string.Empty : c.Value?.Id)}\""))}}}";

var jobParameters = new List<string>
{
Expand Down

0 comments on commit 67b03b4

Please sign in to comment.