Skip to content

Commit d30d99f

Browse files
authored
Merge pull request #63 from Element84/krs--always_set_token
Always set Umbra token from env
2 parents 2efb2c7 + e78b6de commit d30d99f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

demo/api/backends/umbra_backend.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ async def find_opportunities(
136136
print(f"Umbra - find_opportunities, search: {search}")
137137

138138
# Grab token from env until we can get it from the header
139-
if not token:
140-
token = os.getenv("UMBRA_TOKEN", "")
139+
token = os.getenv("UMBRA_TOKEN", "")
141140

142141
if not token:
143142
raise Exception("Set UMBRA_TOKEN before running the server")

0 commit comments

Comments
 (0)