Skip to content

Commit 7c9b781

Browse files
authored
docs: Improve push documentation (#123)
1 parent 66627b5 commit 7c9b781

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/ParseSwift/Types/ParsePush.swift

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ import Foundation
1515
exposed to the public.
1616
*/
1717
public struct ParsePush<V: ParsePushPayloadable>: ParseTypeable {
18+
1819
/**
1920
The query that determines what installations should receive the notification.
20-
- warning: Cannot send a notification with this valuel and `channels` both set.
21+
- warning: Cannot send a notification with this value and `channels` both set.
2122
*/
2223
public var `where`: QueryWhere?
2324
/**
2425
An Array of channels to push to.
25-
- warning: Cannot send a notification with this valuel and `where` both set.
26+
- warning: Cannot send a notification with this value and `where` both set.
2627
*/
2728
public var channels: Set<String>?
2829
/// The payload to send.
@@ -249,4 +250,5 @@ public extension ParsePush {
249250
let query = ParsePushStatus<V>.query("objectId" == statusId)
250251
query.first(options: options, completion: completion)
251252
}
253+
252254
}

0 commit comments

Comments
 (0)