Refactored JsonPayload to JsonResponse

This commit is contained in:
Joel Collins 2019-09-13 18:04:33 +01:00
parent d13341dd5b
commit 6581385ab9
16 changed files with 37 additions and 43 deletions

View file

@ -1,10 +1,10 @@
from openflexure_microscope.devel import MicroscopeViewPlugin, JsonPayload, request, jsonify, abort
from openflexure_microscope.devel import MicroscopeViewPlugin, JsonResponse, request, jsonify, abort
import logging
class TileScanAPI(MicroscopeViewPlugin):
def post(self):
payload = JsonPayload(request)
payload = JsonResponse(request)
# Get params
filename = payload.param('filename')