Skip to content

Commit d4237cb

Browse files
Update firebase_admin/_auth_utils.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 5688dff commit d4237cb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

firebase_admin/_auth_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ def get_emulator_host():
8181

8282
def get_tenant_emulator_host():
8383
emulator_host = os.getenv(TENANT_EMULATOR_HOST_ENV_VAR, '')
84+
if not emulator_host:
85+
emulator_host = get_emulator_host()
8486
if emulator_host and '//' in emulator_host:
8587
raise ValueError(
8688
f'Invalid {TENANT_EMULATOR_HOST_ENV_VAR}: "{emulator_host}". '

0 commit comments

Comments
 (0)