From 413c3bd49ff7c259ecce82584a5a89034441704b Mon Sep 17 00:00:00 2001 From: janosch Date: Tue, 24 Sep 2024 14:55:04 +0000 Subject: [PATCH] Revert changes to analysis API endpoint. --- timesketch/api/v1/resources/analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesketch/api/v1/resources/analysis.py b/timesketch/api/v1/resources/analysis.py index fa1e131d52..7bb7c77c2d 100644 --- a/timesketch/api/v1/resources/analysis.py +++ b/timesketch/api/v1/resources/analysis.py @@ -238,7 +238,7 @@ def post(self, sketch_id): timeline_ids = form.get("timeline_ids") if not timeline_ids: - return abort(HTTP_STATUS_CODE_BAD_REQUEST, "No timelines are uploaded yet") + return abort(HTTP_STATUS_CODE_BAD_REQUEST, "Need to provide a timeline ID") sketch_timelines = {t.id for t in sketch.timelines} if not set(timeline_ids).issubset(sketch_timelines):