zeta: Rename data_collection_permission back to can_collect_data (#24225)

This PR renames some bindings from `data_collection_permission` back to
`can_collect_data`, as the latter name is clearer on account of being a
modal verb.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2025-02-04 21:02:26 +00:00
committed by GitHub
parent 58db66ef44
commit d6a2a0b04a
2 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ pub struct PredictEditsParams {
pub input_excerpt: String,
/// Whether the user provided consent for sampling this interaction.
#[serde(default)]
pub data_collection_permission: bool,
pub can_collect_data: bool,
}
#[derive(Debug, Serialize, Deserialize)]