fix: improve push notification message shown on subscribe (#23052)

Updates push notification message for test notification.
This commit is contained in:
Cian Johnston
2026-03-16 14:52:31 +00:00
committed by GitHub
parent 27cbf5474b
commit f8dff3f758
+2 -2
View File
@@ -174,8 +174,8 @@ func (n *Webpusher) webpushSend(ctx context.Context, msg []byte, endpoint string
func (n *Webpusher) Test(ctx context.Context, req codersdk.WebpushSubscription) error {
msgJSON, err := json.Marshal(codersdk.WebpushMessage{
Title: "Test",
Body: "This is a test Web Push notification",
Title: "It's working!",
Body: "You've subscribed to push notifications.",
})
if err != nil {
return xerrors.Errorf("marshal webpush notification: %w", err)