Skip to content

Commit ebfbca1

Browse files
committed
DEVDOCS-12874 added 2nd code block to match others
1 parent dccb4e6 commit ebfbca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launcher-csharp/Connect/Examples/ValidateWebhookMessage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public static string ComputeHash(string secret, string payload)
1919

2020
return Convert.ToBase64String(hmac.ComputeHash(bytes));
2121
}
22-
//ds-snippet-end:Connect1Step1
2322

2423
public static bool HashIsValid(string secret, string payload, string verify)
2524
{
@@ -28,5 +27,6 @@ public static bool HashIsValid(string secret, string payload, string verify)
2827

2928
return CryptographicOperations.FixedTimeEquals(hashBytes, verifyBytes);
3029
}
30+
//ds-snippet-end:Connect1Step1
3131
}
3232
}

0 commit comments

Comments
 (0)