diff --git a/packages/buttplug/src/webbluetooth/webbluetooth_manager.rs b/packages/buttplug/src/webbluetooth/webbluetooth_manager.rs index f21a4c7..0fe1525 100644 --- a/packages/buttplug/src/webbluetooth/webbluetooth_manager.rs +++ b/packages/buttplug/src/webbluetooth/webbluetooth_manager.rs @@ -85,8 +85,8 @@ impl HardwareCommunicationManager for WebBluetoothCommunicationManager { } } } - options.set_filters(&filters.into()); - options.set_optional_services(&optional_services.into()); + options.set_filters(filters.as_ref()); + options.set_optional_services(optional_services.as_ref()); let nav = web_sys::window().unwrap().navigator(); //nav.bluetooth().get_availability(); //JsFuture::from(nav.bluetooth().request_device()).await;