chore(emqx_lwm2m_message): pass integer from list

This commit is contained in:
z8674558 2021-03-03 01:00:05 +09:00 committed by Yudai Kiyofuji
parent 7edd66e9d6
commit 117c0cf252
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ insert(Level, #{<<"path">> := EleName, <<"type">> := Type, <<"value">> := Value}
case Level of
object -> insert_resource_into_object(Path, BinaryValue, Acc);
object_instance -> insert_resource_into_object_instance(Path, BinaryValue, Acc);
resource -> insert_resource_instance_into_resource(Path, BinaryValue, Acc)
resource -> insert_resource_instance_into_resource(hd(Path), BinaryValue, Acc)
end.
% json text to TLV binary