Fix 'Supported' dbus method

This commit is contained in:
Luke
2021-02-06 08:52:14 +13:00
parent 580ed72e73
commit 12061ea9df

View File

@@ -22,7 +22,7 @@ pub struct SupportedFunctions {
rog_bios_ctrl: RogBiosSupportedFunctions, rog_bios_ctrl: RogBiosSupportedFunctions,
} }
#[dbus_interface(name = "org.asuslinux.Supported")] #[dbus_interface(name = "org.asuslinux.Daemon")]
impl SupportedFunctions { impl SupportedFunctions {
fn supported_functions(&self) -> String { fn supported_functions(&self) -> String {
serde_json::to_string_pretty(self).unwrap() serde_json::to_string_pretty(self).unwrap()