Fixing typos

This commit is contained in:
Pascal Scheiben
2025-09-18 12:10:29 +02:00
committed by Magel, Denis
parent ab52169987
commit 72992d651d

View File

@@ -7,10 +7,14 @@ logger = logging.getLogger("uvicorn")
router = APIRouter(tags=["config"]) router = APIRouter(tags=["config"])
@router.post("/config", response_model=ConfigReturnSchema) @router.post(
"/config", summary="Upload a configuration", response_model=ConfigReturnSchema
)
async def create_config(config: ConfigSchema) -> ConfigSchema: async def create_config(config: ConfigSchema) -> ConfigSchema:
""" """
Endpoint to receive and store configuration data. Endpoint to receive and store configuration data.
⚠️ at this time the configuration is not stored anywhere. It's like logging to /dev/null
""" """
logger.info("Received configuration data") logger.info("Received configuration data")
return config return config