mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
Fix test notification
This commit is contained in:
parent
adbaeb9e54
commit
17a37a3b01
1 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,9 @@ func (a *api) testDeviceHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
Category("test-notification").
|
Category("test-notification").
|
||||||
Custom("test_accounts", strings.Join(users, ",")).
|
Custom("test_accounts", strings.Join(users, ",")).
|
||||||
AlertTitle(notificationTitle).
|
AlertTitle(notificationTitle).
|
||||||
AlertBody(body)
|
AlertBody(body).
|
||||||
|
MutableContent().
|
||||||
|
Sound("traloop.wav")
|
||||||
|
|
||||||
client := apns2.NewTokenClient(a.apns)
|
client := apns2.NewTokenClient(a.apns)
|
||||||
if !d.Sandbox {
|
if !d.Sandbox {
|
||||||
|
|
Loading…
Reference in a new issue