Map rule action parameters on import

This commit is contained in:
M66B
2019-06-07 17:42:55 +02:00
parent d70517cdfe
commit 46ae47b5c9
3 changed files with 59 additions and 12 deletions

View File

@@ -140,7 +140,7 @@ public class EntityIdentity {
public static EntityIdentity fromJSON(JSONObject json) throws JSONException {
EntityIdentity identity = new EntityIdentity();
// id
identity.id = json.getLong("id");
identity.name = json.getString("name");
identity.email = json.getString("email");
if (json.has("display") && !json.isNull("display"))