From 8c5af3486cd80deea06d174a203f1e3c39291d78 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Wed, 20 Nov 2019 13:15:25 +0000 Subject: [PATCH] Changed keys to be more JavaScript friendly --- openflexure_microscope/api/v2/blueprints/actions/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openflexure_microscope/api/v2/blueprints/actions/__init__.py b/openflexure_microscope/api/v2/blueprints/actions/__init__.py index e78f9d85..0f3faa19 100644 --- a/openflexure_microscope/api/v2/blueprints/actions/__init__.py +++ b/openflexure_microscope/api/v2/blueprints/actions/__init__.py @@ -17,12 +17,12 @@ _actions = { "view_class": camera.CaptureAPI, "conditions": True, }, - "preview_start": { + "previewStart": { "rule": "/camera/preview/start", "view_class": camera.GPUPreviewStartAPI, "conditions": True, }, - "preview_stop": { + "previewStop": { "rule": "/camera/preview/stop", "view_class": camera.GPUPreviewStopAPI, "conditions": True,