From 92399aaa0e6dc185df1948c501ba258d42e6a4ec Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 2 Jul 2025 15:54:48 +0300 Subject: Update endpoint for listing diffs to include the change_type. Signed-off-by: Munyoki Kilyungi --- gn3/api/case_attributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/api/case_attributes.py') diff --git a/gn3/api/case_attributes.py b/gn3/api/case_attributes.py index 95a2d98..28f03f7 100644 --- a/gn3/api/case_attributes.py +++ b/gn3/api/case_attributes.py @@ -233,7 +233,7 @@ def edit_case_attributes(inbredset_id: int, auth_token=None) -> tuple[Response, }), 201 -@caseattr.route("//diffs/", methods=["GET"]) +@caseattr.route("//diffs//list", methods=["GET"]) def list_diffs(inbredset_id: int, change_type: str) -> tuple[Response, int]: """List any changes that have been made by change_type.""" with (database_connection(current_app.config["SQL_URI"]) as conn, -- cgit 1.4.1