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 16:02:26 -05:00 committed by GitHub
parent 58db66ef44
commit d6a2a0b04a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 9 deletions

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)]