Skip to content

Commit

Permalink
add json to path (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfarmer-fearless authored Mar 6, 2024
1 parent 0f34455 commit cd242ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public async Task<bool> CreateReport<TReport>(string uploadId, string destinatio
try
{
var content = new StringContent(JsonSerializer.Serialize(payload), Encoding.UTF8, "application/json");
var response = await _httpClient.PostAsync($"/api/report/uploadId/{uploadId}?destinationId={destinationId}&eventType={eventType}&stageName={stageName}", content);
var response = await _httpClient.PostAsync($"/api/report/json/uploadId/{uploadId}?destinationId={destinationId}&eventType={eventType}&stageName={stageName}", content);
response.EnsureSuccessStatusCode();
} catch (Exception ex)
{
Expand Down

0 comments on commit cd242ab

Please sign in to comment.