From d8167218b61263d2597133c6be3f36009aa4de27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 1 Nov 2018 00:03:59 +0100 Subject: [PATCH] Allow recording creation through logged in calls --- app/api/resources/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/resources/device.py b/app/api/resources/device.py index 7780ae1..fbefeb9 100644 --- a/app/api/resources/device.py +++ b/app/api/resources/device.py @@ -106,7 +106,7 @@ class DeviceRecordingResource(ProtectedResource): def post(self, device_id): validate_device_ownership(device_id) created_recording = devices.create_recording_and_return( - device_id, request.json) + device_id, request.json, True) return RecordingsSchema().dump(created_recording), 201