From faeefc2c5ab4af7306be8057599643c245febd91 Mon Sep 17 00:00:00 2001 From: Bram Date: Mon, 2 Dec 2024 10:03:24 +0100 Subject: [PATCH] fix(api): correctly name types paramters of /posts.json (#659) * fix(api): correctly name types paramters of /posts.json * style: hatch run linting:fmt --- src/aleph/web/controllers/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aleph/web/controllers/posts.py b/src/aleph/web/controllers/posts.py index 773d7f6df..f6e9782f6 100644 --- a/src/aleph/web/controllers/posts.py +++ b/src/aleph/web/controllers/posts.py @@ -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(