0
0
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:
Hamir Mahal 2024-11-15 10:48:11 -08:00 committed by GitHub
parent 2b2e7e48b1
commit 39659d7103
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -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
);
}

View File

@ -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,
);
}