Merge branch 'hotfix/recording-creation' into develop

develop
Ensar Sarajčić 2018-11-01 00:05:19 +01:00
commit 00937e5c8a
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class DeviceRecordingResource(ProtectedResource):
def post(self, device_id): def post(self, device_id):
validate_device_ownership(device_id) validate_device_ownership(device_id)
created_recording = devices.create_recording_and_return( created_recording = devices.create_recording_and_return(
device_id, request.json) device_id, request.json, True)
return RecordingsSchema().dump(created_recording), 201 return RecordingsSchema().dump(created_recording), 201