diff --git a/src/main.py b/src/main.py index b6d6897..7cfccb5 100644 --- a/src/main.py +++ b/src/main.py @@ -78,8 +78,6 @@ else: app = FastAPI(docs_url=None, redoc_url=None, openapi_url=None) logger.info("Started FastAPI.") - - def _generate_license_key() -> str: """ Generate a cryptographically secure token @@ -89,7 +87,6 @@ def _generate_license_key() -> str: for _ in range(LICENSE_KEY_PARTS) ) - @app.post("/license", status_code=status.HTTP_201_CREATED) async def create_license_key( is_active: bool = True,