Skip to content

Commit

Permalink
doc: corrected typo in licence file
Browse files Browse the repository at this point in the history
  • Loading branch information
payetools committed Sep 11, 2024
1 parent 494d2f5 commit 0ed9f9d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Portions Copyright (c) Stripe Inc used under Apache License v2.0, see
https://github.com/stripe/stripe-dotnet/blob/master/LICENSE
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ed9f9d

Please sign in to comment.