Update push notification usage

This commit is contained in:
2018-02-27 13:29:47 +01:00
parent 771a222787
commit e8c2a6ff75
4 changed files with 5 additions and 8 deletions

View File

@ -55,7 +55,7 @@ func testPackage(pkg string) {
// Send notification to the admin
admin, _ := arn.GetUser("4J6qpK1ve")
admin.SendNotification(&arn.Notification{
admin.SendNotification(&arn.PushNotification{
Title: pkg,
Message: "Test failed",
Link: "https://" + pkg,