mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-02-11 05:58:26 -06:00
Somehow this file didn't get committed
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user