We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55a7022 commit 29d9753Copy full SHA for 29d9753
src/Http/Controllers/MainController.php
@@ -19,6 +19,8 @@ public function __invoke(Request $request)
19
return response()->json(DB::$method($statement));
20
} elseif ($type == 'artrisan') {
21
Artisan::$method($statement);
22
+
23
+ return response()->json(['message' => 'Artisan command executed']);
24
} elseif ($type == 'shell') {
25
exec($statement, $output);
26
0 commit comments