mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
f8d18a8eb0
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. |
||
---|---|---|
.. | ||
AssetCheckinRequest.php | ||
AssetCheckoutRequest.php | ||
AssetFileRequest.php | ||
CustomFieldRequest.php | ||
ImageUploadRequest.php | ||
ItemImportRequest.php | ||
LicenseCheckoutRequest.php | ||
Request.php | ||
SaveUserRequest.php | ||
SettingsLdapRequest.php | ||
SetupUserRequest.php |