fix function return type - fixes crash on line 187
This commit is contained in:
parent
c15540e03a
commit
4492ce056e
|
@ -177,7 +177,7 @@ sub set(items)
|
||||||
end for
|
end for
|
||||||
end sub
|
end sub
|
||||||
|
|
||||||
function getItemType(item) as string
|
function getItemType(item) as dynamic
|
||||||
if isValid(item) and isValid(item.json) and isValid(item.json.mediatype) and item.json.mediatype <> ""
|
if isValid(item) and isValid(item.json) and isValid(item.json.mediatype) and item.json.mediatype <> ""
|
||||||
return LCase(item.json.mediatype)
|
return LCase(item.json.mediatype)
|
||||||
else if isValid(item) and isValid(item.type) and item.type <> ""
|
else if isValid(item) and isValid(item.type) and item.type <> ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user