Skip to content

Commit

Permalink
Merge branch 'main' into cbaker6-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 authored Jun 25, 2023
2 parents 85474b2 + 7c9b781 commit 61d659b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/ParseSwift/Types/ParsePush.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ import Foundation
exposed to the public.
*/
public struct ParsePush<V: ParsePushPayloadable>: ParseTypeable {

/**
The query that determines what installations should receive the notification.
- warning: Cannot send a notification with this valuel and `channels` both set.
- warning: Cannot send a notification with this value and `channels` both set.
*/
public var `where`: QueryWhere?
/**
An Array of channels to push to.
- warning: Cannot send a notification with this valuel and `where` both set.
- warning: Cannot send a notification with this value and `where` both set.
*/
public var channels: Set<String>?
/// The payload to send.
Expand Down Expand Up @@ -249,4 +250,5 @@ public extension ParsePush {
let query = ParsePushStatus<V>.query("objectId" == statusId)
query.first(options: options, completion: completion)
}

}

0 comments on commit 61d659b

Please sign in to comment.