V1.30.9 env settings fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import datetime
|
||||
import os
|
||||
from firebase_admin import messaging, initialize_app, exceptions
|
||||
|
||||
class FCM:
|
||||
@@ -8,6 +9,8 @@ class FCM:
|
||||
def __init__(self):
|
||||
# To learn more, visit the docs here:
|
||||
# https://cloud.google.com/docs/authentication/getting-started>
|
||||
env = os.environ['GOOGLE_APPLICATION_CREDENTIALS']
|
||||
print(f'ENV: {env}')
|
||||
default_app = initialize_app()
|
||||
|
||||
def send_to_multiple_token(self, title, body, registration_token, image_url = None):
|
||||
|
||||
Reference in New Issue
Block a user