Skip to content

Commit

Permalink
docs: Fix python json example. (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm authored Dec 3, 2024
1 parent 2a6644f commit 6ae0c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async def list_planets(ctx):

@galaxy_api.post("/planets")
async def create_planet(ctx):
create_planet(ctx.req.json())
create_planet(ctx.req.json)
ctx.res.status = 201
```

Expand Down

0 comments on commit 6ae0c59

Please sign in to comment.