Both should return a text and not a json object to make it dynamicly

This commit is contained in:
Michael Bykovski
2017-07-11 19:40:37 +02:00
parent d3e0833913
commit 7f5d48551d
2 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
func requestToRequestDict(requestUUID: String, request: GCDWebServerDataRequest) -> Dictionary<String, Any> {
return [
"requestId": requestUUID,
"body": request.jsonObject ?? "",
"body": request.text ?? "",
"headers": request.headers,
"method": request.method,
"path": request.url.path,