Skip to content

Commit

Permalink
Let new machines connect for the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
skogaby committed Apr 13, 2019
1 parent 8a5d537 commit 5aa0af1
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ private Element validateAndUnpackRequest(Request request) {

machine = new Machine(newUser, requestBodyPcbId, LocalDateTime.now(), true, 0);
machineDao.create(machine);

throw new InvalidPcbIdException();
} else if (!machine.isEnabled()) {
throw new InvalidPcbIdException();
}
Expand Down

0 comments on commit 5aa0af1

Please sign in to comment.