Skip to content

Commit

Permalink
Merge pull request #546 from Rawa/fix-node-feature-deserialization
Browse files Browse the repository at this point in the history
Fix order of arguments to Feature constructor
  • Loading branch information
philips77 committed Dec 7, 2022
2 parents 71dd487 + 8e68505 commit 5500f20
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public List<ProvisionedMeshNode> deserialize(final JsonElement json, final Type
final JsonObject featuresJson = jsonObject.get("features").getAsJsonObject();
node.nodeFeatures = new Features(featuresJson.get("friend").getAsInt(),
featuresJson.get("lowPower").getAsInt(),
featuresJson.get("relay").getAsInt(),
featuresJson.get("proxy").getAsInt());
featuresJson.get("proxy").getAsInt(),
featuresJson.get("relay").getAsInt());
}

if (jsonObject.has("secureNetworkBeacon")) {
Expand Down

0 comments on commit 5500f20

Please sign in to comment.