Somehow this file didn't get committed

This commit is contained in:
NovaFox161
2020-04-11 16:05:10 -05:00
parent 891dc971e5
commit ff39bd155f

View File

@@ -66,9 +66,6 @@ public class Authentication {
//Check if this key is in the database...
UserAPIAccount acc = DatabaseManager.getAPIAccount(key).block();
if (acc != null && !acc.isBlocked()) {
acc.setUses(acc.getUses() + 1);
DatabaseManager.updateAPIAccount(acc).subscribe();
return new AuthenticationState(true)
.setStatus(200)
.setReason("Success")