diff --git a/jobs/test/test.go b/jobs/test/test.go index a5d1ac73..ad649ea0 100644 --- a/jobs/test/test.go +++ b/jobs/test/test.go @@ -60,6 +60,7 @@ func testPackage(pkg string) { Message: "Test failed", Link: "https://" + pkg, Icon: "https://notify.moe/images/brand/220.png", + Type: arn.NotificationTypePackageTest, }) return } diff --git a/pages/notifications/notifications.go b/pages/notifications/notifications.go index 0845f297..adb1189f 100644 --- a/pages/notifications/notifications.go +++ b/pages/notifications/notifications.go @@ -40,6 +40,7 @@ func Test(ctx *aero.Context) string { Title: "Anime Notifier", Message: "Yay, it works!", Icon: "https://" + ctx.App.Config.Domain + "/images/brand/220.png", + Type: arn.NotificationTypeTest, }) return "ok" diff --git a/pages/paypal/success.go b/pages/paypal/success.go index 290f9821..5f748632 100644 --- a/pages/paypal/success.go +++ b/pages/paypal/success.go @@ -90,6 +90,7 @@ func Success(ctx *aero.Context) string { Message: user.Nick + " paid " + payment.Amount + " " + payment.Currency + " making his new balance " + strconv.Itoa(user.Balance), Icon: user.LargeAvatar(), Link: "https://" + ctx.App.Config.Domain + "/api/paypalpayment/" + payment.ID, + Type: arn.NotificationTypePurchase, }) }()