diff --git a/app/Http/Controllers/Users/LDAPImportController.php b/app/Http/Controllers/Users/LDAPImportController.php index a5774f478a..5627adb7eb 100644 --- a/app/Http/Controllers/Users/LDAPImportController.php +++ b/app/Http/Controllers/Users/LDAPImportController.php @@ -65,7 +65,7 @@ class LDAPImportController extends Controller { // Call Artisan LDAP import command. $location_id = $request->input('location_id'); - Artisan::call('snipeit:ldapAd-sync', ['--location_id' => $location_id, '--json_summary' => true]); + Artisan::call('snipeit:ldap-sync', ['--location_id' => $location_id, '--json_summary' => true]); // Collect and parse JSON summary. $ldap_results_json = Artisan::output();