From 6383d3d139e74d352150e9da980155fc372497a5 Mon Sep 17 00:00:00 2001 From: Shubh Date: Thu, 20 Apr 2017 10:39:50 +0530 Subject: [PATCH] Resolved a small issue while preparing httpBody in postDataFrom method in TokenRequestHandler.swift class when we are passing [String:String] into this method it was returning only last parameter on dictionary there was a bug in Line no. 14 previously it was data = encodedKey + = + encodedValue; it should be data = data + encodedKey + = + encodedValue; --- twiliochat/TokenRequestHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twiliochat/TokenRequestHandler.swift b/twiliochat/TokenRequestHandler.swift index f59e1e1..596d128 100644 --- a/twiliochat/TokenRequestHandler.swift +++ b/twiliochat/TokenRequestHandler.swift @@ -11,7 +11,7 @@ class TokenRequestHandler { if !data.isEmpty { data = data + "&" } - data = encodedKey + "=" + encodedValue; + data = data + encodedKey + "=" + encodedValue; } }