Skip to content

Commit

Permalink
Typo on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDearlove committed Feb 2, 2025
1 parent f4fcdde commit 67c84f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions payload/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ func (p *Payload) SetInputPushChannel(channelID string) *Payload {
return p
}

// SetInputPushToken sets the aps input-push-channel field on the payload.
// This is used for push-to-start live activities for channels.
// SetInputPushToken sets the aps input-push-token field on the payload.
// This is used for push-to-start live activities for channels.,
//
// {"aps":{"input-push-channel": channelID }}`
// {"aps":{"input-push-token": channelID }}`
func (p *Payload) SetInputPushToken(token int) *Payload {
p.aps().InputPushToken = token
return p
Expand Down

0 comments on commit 67c84f6

Please sign in to comment.