Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
oigbokwe73 committed Aug 30, 2024
1 parent f06cba4 commit c1a8003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AzureServiceBusToSQL/UploadFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public async Task<IActionResult> Run([HttpTrigger(AuthorizationLevel.Anonymous,
_req = req;

_logger.LogInformation("C# HTTP trigger function processed a request.");
//string requestBody = await new StreamReader(_req.Body).ReadToEndAsync();
string requestBody = await new StreamReader(_req.Body).ReadToEndAsync();
_req.Headers.ToList().ForEach(item => { nvc.Add(item.Key, item.Value.FirstOrDefault()); });
var results = orchrestatorService.Run(_req.Body);
var results = orchrestatorService.Run(requestBody);
return resultSet(results);

}
Expand Down

0 comments on commit c1a8003

Please sign in to comment.