Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pushservices/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def init_messaging_agents(masterdb):
appname = app["shortname"]
""" FCMClient setup """
services["fcm"][appname] = []
if KEY_FCM_JSON_KEY in app and KEY_FCM_PROJECT_ID in app:
if app.get(KEY_FCM_JSON_KEY) and app.get(KEY_FCM_PROJECT_ID):
try:
fcminstance = FCMClient(
project_id=app[KEY_FCM_PROJECT_ID],
Expand Down