Fixes CoAP parsing problem (#12831) (#12834)

Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
pull/12838/head
Markus Michels 2022-05-28 11:55:58 +02:00 committed by GitHub
parent 1aec6c9b30
commit 6c78b4a63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -224,8 +224,13 @@ public class ShellyCoapJSonDTO {
in.endArray();
}
in.endObject();
if (name.equalsIgnoreCase(COIOT_TAG_ACT)) {
// skip record
in.skipValue();
}
in.endObject();
return descr;
}