Let new machines connect for the first time

This commit is contained in:
skogaby
2019-04-12 20:05:26 -05:00
parent 8a5d537d94
commit 5aa0af170d

View File

@@ -332,8 +332,6 @@ public class ButterflyHttpServer {
machine = new Machine(newUser, requestBodyPcbId, LocalDateTime.now(), true, 0);
machineDao.create(machine);
throw new InvalidPcbIdException();
} else if (!machine.isEnabled()) {
throw new InvalidPcbIdException();
}