From 0ed9f9ddc14f6d421ea13895dcc28bf6f6444774 Mon Sep 17 00:00:00 2001 From: payetools <143715134+payetools@users.noreply.github.com> Date: Wed, 11 Sep 2024 12:58:53 +0200 Subject: [PATCH] doc: corrected typo in licence file --- LICENSE.md | 8 ++++---- README.md | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index e91a32c..2bdaf23 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -20,8 +20,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// Portions Copyright (c) 2023 Svix (https://www.svix.com) used under MIT licence, -// see https://github.com/standard-webhooks/standard-webhooks/blob/main/libraries/LICENSE. +Portions Copyright (c) 2023 Svix (https://www.svix.com) used under MIT licence, +see https://github.com/standard-webhooks/standard-webhooks/blob/main/libraries/LICENSE. -// Portions Copyright (c) Stripe Inc used under Apache License v2.0, see -// https://github.com/stripe/stripe-dotnet/blob/master/LICENSE \ No newline at end of file +Portions Copyright (c) Stripe Inc used under Apache License v2.0, see +https://github.com/stripe/stripe-dotnet/blob/master/LICENSE \ No newline at end of file diff --git a/README.md b/README.md index ef16a6b..3eca062 100644 --- a/README.md +++ b/README.md @@ -5,24 +5,24 @@ ### Generating HttpContent for a Webhook ```csharp - var testEntity = new TestEntity - { - Id = 1, - Name = "Test Entity", - Description = "This is a test entity" - }; +var testEntity = new TestEntity +{ + Id = 1, + Name = "Test Entity", + Description = "This is a test entity" +}; - var webhook = new StandardWebhook(WEBHOOK_SIGNING_KEY); +var webhook = new StandardWebhook(WEBHOOK_SIGNING_KEY); - var sendingTime = DateTimeOffset.UtcNow; +var sendingTime = DateTimeOffset.UtcNow; - var webhookContent = webhook.MakeHttpContent(testEntity, DEFAULT_MSG_ID, sendingTime); +var webhookContent = webhook.MakeHttpContent(testEntity, DEFAULT_MSG_ID, sendingTime); ``` ## Acknowledgements -This project leverages the work of the Standard Webhooks project, published on Github in the [standard-webhooks](https://github.com/standard-webhooks/standard-webhooks) repository. +This project leverages the work of the **Standard Webhooks** project, published on Github in the [standard-webhooks](https://github.com/standard-webhooks/standard-webhooks) repository. Specifically it builds upon the [C# reference implementation](https://github.com/standard-webhooks/standard-webhooks/tree/main/libraries/csharp). ## License