openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mham...@apache.org
Subject [openwhisk-apigateway] 01/01: Fix array handling during mapping operations
Date Wed, 25 Sep 2019 04:08:07 GMT
This is an automated email from the ASF dual-hosted git repository.

mhamann pushed a commit to branch json-handling
in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git

commit 6cf283bf93caf10a805c461a8bf643f07a4c96c6
Author: Matt Hamann <matthew.hamann@gmail.com>
AuthorDate: Wed Sep 25 00:05:09 2019 -0400

    Fix array handling during mapping operations
---
 scripts/lua/policies/mapping.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/lua/policies/mapping.lua b/scripts/lua/policies/mapping.lua
index 8b42130..63ba789 100644
--- a/scripts/lua/policies/mapping.lua
+++ b/scripts/lua/policies/mapping.lua
@@ -21,6 +21,7 @@
 local logger = require "lib/logger"
 local utils = require "lib/utils"
 local cjson = require "cjson.safe"
+cjson.decode_array_with_array_mt(true)
 
 local _M = {}
 


Mime
View raw message