We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2b1b1 commit 8ca4d65Copy full SHA for 8ca4d65
dist/origin-trials.js
@@ -123,6 +123,7 @@ function validate(tokenElem) {
123
* @returns {any} value
124
*/
125
function getParameterCaseInsensitive(object, key) {
126
+ if (!object || !key) return;
127
return object[Object.keys(object).find(k => k.toLowerCase() === key.toLowerCase())];
128
}
129
0 commit comments