Merged in hotfix/recording-creation (pull request #42)
Allow recording creation through logged in callsmaster
commit
e293ad6c5c
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue