wires up notifications

This commit is contained in:
Keagan McClelland
2021-09-16 18:08:39 -06:00
committed by Aiden McClelland
parent e75ac1e1b8
commit b8679141a0
2 changed files with 2 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ pub fn echo(#[arg] message: String) -> Result<String, RpcError> {
ssh::ssh,
net::wifi::wifi,
disk::disk,
notifications::notification,
))]
pub fn main_api() -> Result<(), RpcError> {
Ok(())

View File

@@ -14,7 +14,7 @@ use crate::util::{display_none, display_serializable};
use crate::{Error, ErrorKind};
#[command(subcommands(list, delete, delete_before))]
pub async fn notification(#[context] _ctx: RpcContext) -> Result<(), Error> {
pub async fn notification() -> Result<(), Error> {
Ok(())
}