From ab7aa9a42ab43a2cf0ff64cdea848e84b798f936 Mon Sep 17 00:00:00 2001 From: Francisco Aranda Date: Wed, 4 Dec 2024 13:22:35 +0100 Subject: [PATCH] fix: remove wrong alias and define argas as expected params --- argilla-server/src/argilla_server/_app.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/argilla-server/src/argilla_server/_app.py b/argilla-server/src/argilla_server/_app.py index b40a771d3c..b8fb0d7f57 100644 --- a/argilla-server/src/argilla_server/_app.py +++ b/argilla-server/src/argilla_server/_app.py @@ -62,9 +62,9 @@ def configure_extra_pages(app: FastAPI): @app.get("/share", include_in_schema=False) async def share_page( request: Request, - image: str = Query("share_image"), - dataset_name: str = Query("dataset_name"), - dataset_id: str = Query("dataset_id"), + share_image: str = Query(), + dataset_name: str = Query(), + dataset_id: str = Query(), ): url = request.url @@ -79,7 +79,7 @@ async def share_page( - + - + @@ -102,7 +102,7 @@ async def share_page( property="og:description" content="Contribute with this {dataset_name}" /> - +