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 4620eca commit 2d56bd8Copy full SHA for 2d56bd8
lib/api/services/JsonApiService.js
@@ -17,7 +17,7 @@ var depthOf = function(object) {
17
for (key in object) {
18
if (!object.hasOwnProperty(key)) continue;
19
20
- if (typeof object[key] == 'object') {
+ if (_.isObjectLike(object[key])) {
21
var depth = depthOf(object[key]) + 1;
22
level = Math.max(depth, level);
23
}
0 commit comments