xqt commited on
Commit
3eccb04
·
verified ·
1 Parent(s): 774134a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -78,8 +78,8 @@ async def create_user(user: User):
78
  async def get_followers(channel_owner: str, limit: typing.Annotated[int, fastapi.Path(title = "The number of followers to retrieve")]):
79
  return {"channel_owner": channel_owner, "limit": limit}
80
 
81
- encryption_key = os.getenv("ENCRYPTION_KEY")
82
- encryption_algorithm = os.getenv("ENCRYPTION_ALGORITHM")
83
  if encryption_key is None:
84
  raise ValueError("No ENCRYPTION_KEY set for the application")
85
  if encryption_algorithm is None:
 
78
  async def get_followers(channel_owner: str, limit: typing.Annotated[int, fastapi.Path(title = "The number of followers to retrieve")]):
79
  return {"channel_owner": channel_owner, "limit": limit}
80
 
81
+ encryption_key = os.environ.get("ENCRYPTION_KEY")
82
+ encryption_algorithm = os.environ.get("ENCRYPTION_ALGORITHM")
83
  if encryption_key is None:
84
  raise ValueError("No ENCRYPTION_KEY set for the application")
85
  if encryption_algorithm is None: