From 093e5a0a7aa9f35c62b9b3b7bfe8e79041a88f03 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Tue, 17 Mar 2020 17:14:29 +0000 Subject: [PATCH] Fixed broken delete argument (capture_id instead of id) --- openflexure_microscope/api/v2/views/captures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openflexure_microscope/api/v2/views/captures.py b/openflexure_microscope/api/v2/views/captures.py index 27a4a636..2deb72b6 100644 --- a/openflexure_microscope/api/v2/views/captures.py +++ b/openflexure_microscope/api/v2/views/captures.py @@ -207,7 +207,7 @@ class CaptureTags(View): return jsonify(capture_obj.tags) - def delete(self, capture_id): + def delete(self, id): """ Delete tags from a single image capture """