Skip to content

Commit

Permalink
Add return type to closure
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Oct 23, 2023
1 parent 9efb499 commit 7085cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PostgREST/PostgrestBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public class PostgrestBuilder {
}
return nil
}
.map { key, value in
.map { (key, value) -> String in
let escapedKey = escape(key)
let escapedValue = escape(value)
return "\(escapedKey)=\(escapedValue)"
Expand Down

0 comments on commit 7085cd9

Please sign in to comment.