mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-10 23:25:37 +00:00
This was causing issues when trying to check an item out to a user or a location because of the way laravel handles validation. Instead, rely on the exception check we had in the controller. I moved this exception up to the model checkout method so that it would work for anywhere that that method was called, even if it avoided the controller.