Small fix for #6484 - corrected LDAP sync command name

This commit is contained in:
snipe 2018-12-11 15:18:30 -08:00
parent 8b8ce256f5
commit 93947b09c5

View file

@ -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();