diff --git a/handler.js b/handler.js index 53606ec..a1252eb 100644 --- a/handler.js +++ b/handler.js @@ -54,11 +54,9 @@ export const handler = async (req, res) => { function modifyObj(obj) { - if ("queryID" in obj) { - delete obj["queryID"]; - } - -} + if (obj.properties && "queryID" in obj.properties) { + delete obj.properties.queryID; + }} /* Exceptions available: @@ -75,3 +73,4 @@ Method for generating 256 hash code for a String: +