Allow recording creation through logged in calls

master
Ensar Sarajčić 2018-11-01 00:03:59 +01:00
parent 6c653f0fe0
commit d8167218b6
1 changed files with 1 additions and 1 deletions

View File

@ -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