From 1022f47f142aff0eb915a28b3808bbba15ed486c Mon Sep 17 00:00:00 2001 From: popaprozac Date: Thu, 27 Mar 2025 13:27:39 -0700 Subject: [PATCH] fix docs --- docs/src/content/docs/learn/notifications.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/learn/notifications.mdx b/docs/src/content/docs/learn/notifications.mdx index 6a8e9c7a8..393c563aa 100644 --- a/docs/src/content/docs/learn/notifications.mdx +++ b/docs/src/content/docs/learn/notifications.mdx @@ -54,7 +54,7 @@ On Windows and Linux this always returns `true`. Send a basic notification with a unique id, title, optional subtitle (macOS and Linux), and body text to users: ```go -notifier.SendNotification(notifications.NotificaionOptions{ +notifier.SendNotification(notifications.NotificationOptions{ ID: "unique-id", Title: "New Calendar Invite", Subtitle: "From: Jane Doe", // Optional @@ -137,8 +137,8 @@ notifier.SendNotification(notifications.NotificaionOptions{ Subtitle: "From: Jane Doe", // Optional Body: "Tap to view the event" Data: map[string]interface{}{ - sender: "jane.doe@example.com", - timestamp: "2025-03-10T15:30:00Z", + "sender": "jane.doe@example.com", + "timestamp": "2025-03-10T15:30:00Z", } })