We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85d95c7 commit 203e9f6Copy full SHA for 203e9f6
2 files changed
app/Http/Requests/CustomoidRequest.php
@@ -44,7 +44,7 @@ public function rules(): array
44
];
45
46
// device_id is required only when creating
47
- if ($this->isMethod('post') && !$this->route('customoid')) {
+ if ($this->isMethod('post') && ! $this->route('customoid')) {
48
$rules['device_id'] = 'required|integer|exists:devices,device_id';
49
}
50
routes/web.php
@@ -52,7 +52,6 @@
52
use App\Http\Controllers\RoleController;
53
use App\Http\Controllers\Select;
54
use App\Http\Controllers\SensorController;
55
-use App\Http\Controllers\ServiceController;
56
use App\Http\Controllers\ServiceTemplateController;
57
use App\Http\Controllers\SettingsController;
58
use App\Http\Controllers\SslCertificateController;
0 commit comments