Skip to main content

storage_set_active_user

Function storage_set_active_user 

Source
pub async fn storage_set_active_user(
    db: State<'_, DatabaseWrapper>,
    user_id: String,
    _server_id: String,
) -> Result<(), String>
Expand description

Set a user as active (and deactivate all other users globally)