diff --git a/10_integrations/algolia_indexer.py b/10_integrations/algolia_indexer.py index 7dd29b19e..5fb85fc11 100644 --- a/10_integrations/algolia_indexer.py +++ b/10_integrations/algolia_indexer.py @@ -73,7 +73,8 @@ @stub.function( - image=algolia_image, secrets=[Secret.from_name("algolia-secret")] + image=algolia_image, + secrets=[Secret.from_name("algolia-secret", environment_name="main")], ) def crawl(): # Installed with a 3.6 venv; Python 3.6 is unsupported by Modal, so use a subprocess instead.