mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
wires up notifications
This commit is contained in:
committed by
Aiden McClelland
parent
e75ac1e1b8
commit
b8679141a0
@@ -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(())
|
||||
|
||||
@@ -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(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user