Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-ares committed Jan 17, 2024
1 parent b604fe2 commit d01293c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notifications/push/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ func buildAndroidDataOnlyNotification(notification *DelayedNotification) *fcm.An
dataOnlyNotification[dataOnlyBody] = notification.Body
dataOnlyNotification[dataOnlyImageURL] = notification.ImageURL
dataOnlyNotification[dataOnlyType] = typeDelayedNotification
dataOnlyNotification[dataOnlyMinDelay] = strconv.FormatUint(uint64(notification.MinDelay), 10)
dataOnlyNotification[dataOnlyMaxDelay] = strconv.FormatUint(uint64(notification.MaxDelay), 10)
dataOnlyNotification[dataOnlyMinDelay] = strconv.FormatUint(uint64(notification.MinDelaySec), 10)
dataOnlyNotification[dataOnlyMaxDelay] = strconv.FormatUint(uint64(notification.MaxDelaySec), 10)

return &fcm.AndroidConfig{
Data: dataOnlyNotification,
Expand Down

0 comments on commit d01293c

Please sign in to comment.