Skip to content

Commit

Permalink
Update openedx/core/djangoapps/ace_common/settings/common.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Niedielnitsev <[email protected]>
  • Loading branch information
KyryloKireiev and NiedielnitsevIvan authored Jun 11, 2024
1 parent a515cfc commit 9103757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/ace_common/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def plugin_settings(settings): # lint-amnesty, pylint: disable=missing-function
if not used_firebase_credentials:
used_firebase_credentials = getattr(settings, 'FIREBASE_CREDENTIALS', None)

if used_firebase_credentials:
settings.FIREBASE_APP = setup_firebase_app(settings.FIREBASE_CREDENTIALS_PATH or settings.FIREBASE_CREDENTIALS, settings.FCM_APP_NAME)
settings.FIREBASE_APP = setup_firebase_app(used_firebase_credentials, settings.FCM_APP_NAME)

if getattr(settings, 'FIREBASE_APP', None):
Expand Down

0 comments on commit 9103757

Please sign in to comment.