diff --git a/src/main/java/net/frozenorb/apiv3/route/ranks/POSTRanks.java b/src/main/java/net/frozenorb/apiv3/route/ranks/POSTRanks.java index 32a7e50..626068b 100644 --- a/src/main/java/net/frozenorb/apiv3/route/ranks/POSTRanks.java +++ b/src/main/java/net/frozenorb/apiv3/route/ranks/POSTRanks.java @@ -24,8 +24,9 @@ public final class POSTRanks implements Handler { String gameColor = requestBody.getString("gameColor"); String websiteColor = requestBody.getString("websiteColor"); boolean staffRank = requestBody.getBoolean("staffRank"); + boolean higherStaffRank = requestBody.getBoolean("higherStaffRank"); - Rank rank = new Rank(id, inheritsFromId, weight, displayName, gameColor, websiteColor, staffRank); + Rank rank = new Rank(id, inheritsFromId, weight, displayName, gameColor, websiteColor, staffRank, higherStaffRank); BlockingCallback callback = new BlockingCallback<>(); rank.insert(callback); callback.get();