diff --git a/src/main/java/cactusServer/models/Accounts.java b/src/main/java/cactusServer/models/Accounts.java index cf8a9d3..4eb2ca6 100644 --- a/src/main/java/cactusServer/models/Accounts.java +++ b/src/main/java/cactusServer/models/Accounts.java @@ -101,8 +101,8 @@ return Accounts.getInstance().getAccountToken(token); } - public Account deleteAccount(String token) { - Account edit = Accounts.getInstance().getAccountToken(token); + public Account deleteAccount(String uniqueID) { + Account edit = Accounts.getInstance().getAccountToken(uniqueID); userIDSet.remove(edit.getId()); uniqueIDSet.remove(edit.getUniqueID()); accounts.remove(edit);