Skip to content

Commit b1a2d66

Browse files
committed
Fixed typo in 'nt:unstructured' definition
1 parent 21758a9 commit b1a2d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ const f = {
859859
if (Array.isArray(value)) {
860860
var collection = content.ele(key).att('jcr:primaryType','nt:unstructured')
861861
for(var i = 0; i < value.length; i++) {
862-
var children = collection.ele(key+i).att('jcr:primaryType','fnt:unstructured')
862+
var children = collection.ele(key+i).att('jcr:primaryType','nt:unstructured')
863863
for (childKey in value[i]) {
864864
if(value[i][childKey].startsWith('{'))
865865
children.att(childkey, '\\' + value[i][childKey])

0 commit comments

Comments
 (0)