pub async fn update_file(
db: &Pool<Postgres>,
search: &TenantSearchIndex,
scope: &String,
file: File,
user_id: Option<String>,
update: UpdateFile,
) -> Result<(), UpdateFileError>pub async fn update_file(
db: &Pool<Postgres>,
search: &TenantSearchIndex,
scope: &String,
file: File,
user_id: Option<String>,
update: UpdateFile,
) -> Result<(), UpdateFileError>