Skip to content

Commit

Permalink
Merge pull request #2 from panxl6/master
Browse files Browse the repository at this point in the history
doc: fixed error in example.
  • Loading branch information
panxl6 committed Aug 19, 2024
2 parents 4d59238 + 8a65a4e commit f9841ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Console.WriteLine(resp.Slug);

```csharp
Notification notification = client.Notification.GetNotificationByTrackingId("<tracking_id>");
Console.WriteLine(notificaiton.Emails[0]);
Console.WriteLine(notification.Emails[0]);
```

**POST** /notifications/:id/add
Expand All @@ -318,8 +318,8 @@ notification.Emails = new string?[] { "<your_email>" };
request.Notification = notification;
options.AddNotificationByTrackingIdRequest = request;

Notification notification = client.Notification.AddNotificationByTrackingId("<tracking_id>", options);
Console.WriteLine(notification.Emails[0]);
Notification result = client.Notification.AddNotificationByTrackingId("<tracking_id>", options);
Console.WriteLine(result.Emails[0]);
```

**POST** /notifications/:id/remove
Expand All @@ -332,8 +332,8 @@ notification.Emails = new string?[] { "<your_email>" };
request.Notification = notification;
options.DeleteNotificationByTrackingIdRequest = request;

Notification notification = client.Notification.DeleteNotificationByTrackingId("<tracking_id>", options);
Console.WriteLine(notification.Emails[0]);
Notification result = client.Notification.DeleteNotificationByTrackingId("<tracking_id>", options);
Console.WriteLine(result.Emails[0]);
```

### /estimated-delivery-date
Expand Down
Binary file modified icon.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f9841ad

Please sign in to comment.