Skip to main content

list_profiles

Function list_profiles 

Source
pub async fn list_profiles(
    db: &Arc<RusqliteService>,
    server_id: &str,
) -> Result<Vec<Profile>, String>
Expand description

List every profile known for a server, most recently used first.

A profile’s unlock method is derived from the presence of a user_pins row rather than stored twice, so the two can never disagree.

TRACES: UR-082 | DR-267