Skip to main content

get_or_create_admin

Function get_or_create_admin 

Source
pub async fn get_or_create_admin(
    db_pool: &DbPool,
    email: &str,
    context_type: &str,
) -> Result<User>