[ci skip] fix: typo in code comments (#198)

This commit is contained in:
Ryan Guest 2017-03-26 05:33:33 -07:00 committed by Bo-Yi Wu
parent 04ff032214
commit 4b6ac6d8d2
1 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ func iosAlertDictionary(payload *payload.Payload, req PushNotification) *payload
return payload
}
// GetIOSNotification use for define iOS notificaiton.
// GetIOSNotification use for define iOS notification.
// The iOS Notification Payload
// ref: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html#//apple_ref/doc/uid/TP40008194-CH17-SW1
func GetIOSNotification(req PushNotification) *apns.Notification {
@ -401,7 +401,7 @@ Retry:
return isError
}
// GetAndroidNotification use for define Android notificaiton.
// GetAndroidNotification use for define Android notification.
// HTTP Connection Server Reference for Android
// https://developers.google.com/cloud-messaging/http-server-ref
func GetAndroidNotification(req PushNotification) gcm.HttpMessage {