Skip to content

Commit

Permalink
fix(api): correctly name types paramters of /posts.json (#659)
Browse files Browse the repository at this point in the history
* fix(api): correctly name types paramters of /posts.json

* style: hatch run linting:fmt
  • Loading branch information
Psycojoker authored Dec 2, 2024
1 parent b48d256 commit faeefc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/web/controllers/posts.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class PostQueryParams(BaseModel):
)
post_types: Optional[List[str]] = Field(
default=None,
alias="types",
alias="types[]",
description="Accepted values for the 'content.type' field.",
)
tags: Optional[List[str]] = Field(
Expand Down

0 comments on commit faeefc2

Please sign in to comment.