Merged in hotfix/recording-creation (pull request #42)

Allow recording creation through logged in calls
master
Ensar Sarajcic 2018-10-31 23:04:31 +00:00
commit e293ad6c5c
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