Skip to content

Commit 18a642f

Browse files
committed
add fix problem during deployment
1 parent 06c5db5 commit 18a642f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
LOCATION = "smi"
77

88
def get_tiled_client():
9-
os.environ["TILED_API_KEY"] = Secret.load(f"tiled-{LOCATION}-api-key").get()
9+
os.environ["TILED_API_KEY"] = Secret.load(f"tiled-{LOCATION}-api-key", _sync=True).get()
1010
tiled_client = from_profile("nsls2")[LOCATION]
1111
os.environ.pop("TILED_API_KEY")
1212
return tiled_client

0 commit comments

Comments
 (0)