mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-28 22:57:43 +00:00
set up auth key with path
This commit is contained in:
parent
5bc5d80447
commit
29c7caa591
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ func NewNotificationsWorker(logger *logrus.Logger, statsd *statsd.Client, db *pg
|
||||||
|
|
||||||
var apns *token.Token
|
var apns *token.Token
|
||||||
{
|
{
|
||||||
authKey, err := token.AuthKeyFromBytes([]byte(os.Getenv("APPLE_KEY_PKEY")))
|
authKey, err := token.AuthKeyFromFile(os.Getenv("APPLE_KEY_PATH"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue