mirror of
https://github.com/skogaby/butterfly.git
synced 2026-09-09 00:35:10 -05:00
Let new machines connect for the first time
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user