Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
charlienegri committed Nov 7, 2024
1 parent b5caccc commit d7431c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmci/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def _check_metadata_id(metadata_id, env_string=None):
return None, None, f"Cannot convert to UUID: {uuid_str}"

# Check that the namespace is correct
if env_string is None: # we are in prod
if not env_string: # we are in prod
if ".staging" in md_namespace or ".dev" in md_namespace:
return (
None,
Expand Down

0 comments on commit d7431c9

Please sign in to comment.