mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 13:39:22 +01:00
refactor: remove redundant references (#25571)
Co-authored-by: Sandy Spicer <sandy@posthog.com>
This commit is contained in:
parent
2b2e7e48b1
commit
39659d7103
@ -55,7 +55,7 @@ const DEFAULT_ENTERED_TIMESTAMP: EnteredTimestamp = EnteredTimestamp {
|
||||
};
|
||||
|
||||
pub fn process_line(line: &str) -> Value {
|
||||
let args = parse_args(&line);
|
||||
let args = parse_args(line);
|
||||
let mut aggregate_funnel_row = AggregateFunnelRow {
|
||||
results: Vec::with_capacity(args.prop_vals.len()),
|
||||
breakdown_step: Option::None,
|
||||
@ -112,7 +112,7 @@ impl AggregateFunnelRow {
|
||||
self.process_event(
|
||||
args,
|
||||
&mut vars,
|
||||
&events_with_same_timestamp[0],
|
||||
events_with_same_timestamp[0],
|
||||
prop_val,
|
||||
false
|
||||
);
|
||||
@ -147,7 +147,7 @@ impl AggregateFunnelRow {
|
||||
args,
|
||||
&mut vars,
|
||||
&event,
|
||||
&prop_val,
|
||||
prop_val,
|
||||
true
|
||||
);
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ const DEFAULT_ENTERED_TIMESTAMP: EnteredTimestamp = EnteredTimestamp {
|
||||
};
|
||||
|
||||
pub fn process_line(line: &str) -> Value {
|
||||
let args = parse_args(&line);
|
||||
let args = parse_args(line);
|
||||
let mut aggregate_funnel_row = AggregateFunnelRow {
|
||||
results: HashMap::new(),
|
||||
breakdown_step: Option::None,
|
||||
@ -128,7 +128,7 @@ impl AggregateFunnelRow {
|
||||
self.process_event(
|
||||
args,
|
||||
&mut vars,
|
||||
&event,
|
||||
event,
|
||||
prop_val,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user