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.
null
1 parent e35731e commit 18e8b91Copy full SHA for 18e8b91
utils.js
@@ -47,7 +47,7 @@ export function protectionResponseDataToUpdateParameters(data) {
47
const parameters = mapValues(data, (key, value) => {
48
if (/(^|_)url$/.test(key)) return;
49
if (Array.isArray(value)) return value;
50
- if (typeof value !== "object") return value;
+ if (value === null || typeof value !== "object") return value;
51
52
if ("enabled" in value) return value.enabled;
53
if ("login" in value) return value.login;
0 commit comments