Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
nagarwal4 authored Feb 1, 2024
1 parent fc84625 commit 8ffe372
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ public async Task<string> GenerateKeyPair(Blockchain blockchain)

var response = await _httpClient.PostAsync($"CreateSigningPair?code={_settings.CreateSigningPairKey}", httpContent);


//var response = await _httpClient.PostAsJsonAsync
// ($"CreateSigningPair?code={_settings.CreateSigningPairKey}", model, jsonSerializerOptions);

var json = await response.Content.ReadAsStringAsync();

if (!response.IsSuccessStatusCode)
Expand Down Expand Up @@ -86,9 +82,6 @@ public async Task<string> Sign(SignRequest request)

_logger.LogInformation("Posting model: {json}", jsonObj);

//var response = await _httpClient.PostAsJsonAsync
// ($"CreateSignature?code={_settings.CreateSignatureKey}", model);

var response = await _httpClient.PostAsync($"CreateSignature?code={_settings.CreateSignatureKey}", httpContent);

var json = await response.Content.ReadAsStringAsync();
Expand Down

0 comments on commit 8ffe372

Please sign in to comment.