mirror of
https://github.com/bec-project/bec_atlas.git
synced 2025-07-13 22:51:49 +02:00
fix: fix return values for routers
This commit is contained in:
@ -30,7 +30,7 @@ class DeploymentsRouter(BaseRouter):
|
|||||||
self.deployment_with_id,
|
self.deployment_with_id,
|
||||||
methods=["GET"],
|
methods=["GET"],
|
||||||
description="Get a single deployment by id for a realm",
|
description="Get a single deployment by id for a realm",
|
||||||
response_model=Deployments,
|
response_model=Deployments | None,
|
||||||
)
|
)
|
||||||
self.update_available_deployments()
|
self.update_available_deployments()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user