Skip to content

Commit 695e1e7

Browse files
Fixed an issue encoding notification actions
1 parent f0fefbc commit 695e1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WebPush/Push Message/Notification.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ extension PushMessage {
547547
public enum CodingKeys: String, CodingKey {
548548
case id = "action"
549549
case label = "title"
550-
case destination = "navigation"
550+
case destination = "navigate"
551551
case icon
552552
}
553553
}

0 commit comments

Comments
 (0)