Commit 345d4971 authored by Joel Collins's avatar Joel Collins
Browse files

Fixed MoveAndMeasureAPI args schema

parent 1c0cc32b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ class MoveAndMeasureAPI(ActionView):
    Move the stage and measure dynamic sharpness
    """

    args = {"dz": fields.List(fields.Int(), required=True)}
    args = {"dz": fields.Int(required=True)}

    def post(self, args):
        microscope = find_component("org.openflexure.microscope")