Skip to content

Commit

Permalink
formatting...
Browse files Browse the repository at this point in the history
  • Loading branch information
bulletinmybeard committed Apr 6, 2024
1 parent a1aeb48 commit ef7b9bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions audit_logger/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def lifespan(_: Any) -> AsyncGenerator[None, None]:


app = FastAPI(
debug=app_config.authentication.api_key == 'development',
debug=app_config.authentication.api_key == "development",
version="1.0.0",
redirect_slashes=True,
lifespan=lifespan,
Expand All @@ -72,10 +72,10 @@ async def lifespan(_: Any) -> AsyncGenerator[None, None]:


def dev_only():
if app_config.environment != 'development':
if app_config.environment != "development":
raise HTTPException(
status_code=status.HTTP_403_FORBIDDEN,
detail="This route is only available in development environment"
detail="This route is only available in development environment",
)


Expand Down

0 comments on commit ef7b9bf

Please sign in to comment.