Function set_admin

Source
pub async fn set_admin(
    user_id: i64,
    is_admin: bool,
) -> Result<(), ServerFnError<LoginError>>