Skip to content

Commit 6ec8b6c

Browse files
committed
Address feedbacks 3
1 parent 4fb738d commit 6ec8b6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Firestore/Swift/Source/SwiftAPI/Pipeline/Aggregation/AggregateFunction.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ public class AggregateFunction: AggregateBridgeWrapper, @unchecked Sendable {
1616
var bridge: AggregateFunctionBridge
1717

1818
let functionName: String
19-
let agrs: [Expr]
19+
let args: [Expr]
2020

21-
public init(_ functionName: String, _ agrs: [Expr]) {
21+
public init(_ functionName: String, _ args: [Expr]) {
2222
self.functionName = functionName
23-
self.agrs = agrs
23+
self.args = args
2424
bridge = AggregateFunctionBridge(
2525
name: functionName,
26-
args: self.agrs.map { $0.toBridge()
26+
args: self.args.map { $0.toBridge()
2727
}
2828
)
2929
}

0 commit comments

Comments
 (0)