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:
parent
58db66ef44
commit
d6a2a0b04a
2 changed files with 8 additions and 9 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue