Fix bug in authorizer

This commit is contained in:
Zaid Abdulla committed 2020-08-18 12:39:46 -07:00
1 parent bf9517c652
commit ec44ccfc07
1 file changed
+2 -1
+2 -1
View File
@@ -124,7 +124,8 @@ export default class Authorizer {
if (value == null) break;
}
} else if (object[entry]) {
value = object[entry][paramName];
if (paramName) value = object[entry][paramName];
else value = object[entry];
}
return value;