Skip to content

Commit

Permalink
removed debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Oct 24, 2019
1 parent ecd9f85 commit e6c6168
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/push/fcm/push_fcm.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ func payloadToData(pl *push.Payload) (map[string]string, error) {
}

func sendNotifications(rcpt *push.Receipt, config *configType) {
log.Println("PUSH", rcpt)

ctx := context.Background()

data, _ := payloadToData(&rcpt.Payload)
Expand Down Expand Up @@ -214,7 +212,6 @@ func sendNotifications(rcpt *push.Receipt, config *configType) {
// Body: data["content"],
// }
_, err := handler.client.Send(ctx, &msg)
log.Println("Pushed", msg, err)
if err != nil {
if fcm.IsMessageRateExceeded(err) ||
fcm.IsServerUnavailable(err) ||
Expand Down

0 comments on commit e6c6168

Please sign in to comment.