client server api

This commit is contained in:
JMARyA 2025-04-30 16:28:48 +02:00
parent 164c71ddfe
commit 6e31b95417
6 changed files with 89 additions and 7 deletions

View file

@ -44,6 +44,8 @@ pub async fn join_device(
let machine = Machine::from_join_param(payload);
let new_token = machine.token.clone();
// TODO : add device listener instantly
save!(machine);
let i = crate::IDENTITY.get().unwrap();