fix args passed to create_device
diff --git a/xos/api/tenant/cord/subscriber.py b/xos/api/tenant/cord/subscriber.py
index 1d30788..6984671 100644
--- a/xos/api/tenant/cord/subscriber.py
+++ b/xos/api/tenant/cord/subscriber.py
@@ -282,7 +282,7 @@
subscriber = self.get_object()
ser = DeviceSerializer(subscriber.devices, data=request.data)
ser.is_valid(raise_exception = True)
- newdevice = CordDevice(subscriber.create_device(ser.validated_data), subscriber)
+ newdevice = CordDevice(subscriber.create_device(**ser.validated_data), subscriber)
subscriber.save()
return Response(DeviceSerializer(newdevice).data)