We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9e392f commit 169a8c7Copy full SHA for 169a8c7
lib/routes/rocket.py
@@ -49,7 +49,7 @@ async def read_rocket(rocket_id: int) -> Rocket:
49
## Args
50
``` rocket_id: Rocket ID hash ```
51
"""
52
- return await RocketController.get_rocket(rocket_id)
+ return await RocketController.get_rocket_by_id(rocket_id)
53
54
55
@router.put("/{rocket_id}")
@@ -92,7 +92,7 @@ async def read_rocketpy_rocket(rocket_id: int) -> "RocketPickle":
92
93
94
95
- return await RocketController.get_rocketpy_rocket(rocket_id)
+ return await RocketController.get_rocketpy_rocket_as_jsonpickle(rocket_id)
96
97
98
@router.get("/{rocket_id}/simulate")
0 commit comments