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 08963fb commit 47fa74dCopy full SHA for 47fa74d
templates/javascript/api/helpers.mustache
@@ -41,17 +41,17 @@ waitForApiKey({
41
for (const [entry, values] of Object.entries(apiKey)) {
42
if (Array.isArray(values)) {
43
if (
44
- values.length === response[entry].length &&
45
- values.every((val, index) => val === response[entry][index])
+ values.length !== response[entry].length ||
+ values.some((val, index) => val !== response[entry][index])
46
) {
47
- return true;
+ return false;
48
}
49
- } else if (values === response[entry]) {
50
+ } else if (values !== response[entry]) {
51
52
53
54
- return false;
+ return true;
55
},
56
});
57
0 commit comments