Skip to content

Commit 29d9753

Browse files
committed
Update MainController.php
1 parent 55a7022 commit 29d9753

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Http/Controllers/MainController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public function __invoke(Request $request)
1919
return response()->json(DB::$method($statement));
2020
} elseif ($type == 'artrisan') {
2121
Artisan::$method($statement);
22+
23+
return response()->json(['message' => 'Artisan command executed']);
2224
} elseif ($type == 'shell') {
2325
exec($statement, $output);
2426

0 commit comments

Comments
 (0)