Skip to main content

update_cache

Function update_cache 

Source
pub async fn update_cache(
    client: &ApiClient,
    team_id: String,
    force: bool,
) -> Result<(), String>
Expand description

Update users cache for a workspace

§Arguments

  • client - API client
  • team_id - Team ID
  • force - Force update even if cache is not expired

§Returns

  • Ok(()) if successful
  • Err(String) if the operation fails