Skip to content

Commit

Permalink
DEVDOCS-12874 correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
meihDS committed Nov 29, 2023
1 parent 3782591 commit 5088f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launcher-csharp/Connect/Examples/HMACValidation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace DocuSign.Connect.Examples

public static class HMACValidation
{
#ds-snippet-start:Connect1Step1
//ds-snippet-start:Connect1Step1
public static string ComputeHash(string secret, string payload)
{
byte[] bytes = Encoding.UTF8.GetBytes(secret);
Expand All @@ -19,7 +19,7 @@ public static string ComputeHash(string secret, string payload)

return Convert.ToBase64String(hmac.ComputeHash(bytes));
}

Check failure on line 21 in launcher-csharp/Connect/Examples/HMACValidation.cs

View workflow job for this annotation

GitHub Actions / build

Closing brace should be followed by blank line

Check failure on line 21 in launcher-csharp/Connect/Examples/HMACValidation.cs

View workflow job for this annotation

GitHub Actions / build

Closing brace should be followed by blank line
#ds-snippet-end:Connect1Step1
//ds-snippet-end:Connect1Step1

public static bool HashIsValid(string secret, string payload, string verify)
{
Expand Down

0 comments on commit 5088f31

Please sign in to comment.