Skip to content

Commit b2d390b

Browse files
author
William Templeton
committed
Compatibility for earlier versions of swift
1 parent 6d1d466 commit b2d390b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Typesense/AnalyticsRules.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public struct AnalyticsRules {
3030
}
3131

3232
private func endpointPath(_ operation: String? = nil) -> String {
33-
if let operation {
33+
if let operation = operation {
3434
return "\(AnalyticsRules.resourcePath)/\(operation)"
3535
} else {
3636
return AnalyticsRules.resourcePath

0 commit comments

Comments
 (0)