Skip to content

Commit 515844e

Browse files
committed
Fix optional interpolation
1 parent 74d85f4 commit 515844e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/swift/Sources/Client.swift.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ open class Client {
415415
group.enter()
416416
call(
417417
method: "GET",
418-
path: "\(path)/\(params[idParamName!])",
418+
path: path + "/" + (params[idParamName!] as! String),
419419
headers: headers,
420420
params: [:],
421421
converter: { return $0 }

0 commit comments

Comments
 (0)