Fix post file input not found
All checks were successful
Push image to registry / build-image (push) Successful in 2m49s

This commit is contained in:
2025-09-08 16:16:40 +02:00
parent 1e52bb1ae9
commit 59993fc33c
2 changed files with 11 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
<?php
use App\Browser\Jobs\InstagramRepost\InstagramNotificationHandlingJob;
use App\Http\Controllers\JobController;
use App\Models\Job;
use App\Services\BrowserJobsInstances;
@@ -17,3 +18,12 @@ Route::get('/test/{id}', function (Request $request, $id, BrowserJobsInstances $
});
Route::get('jobs/{job}/test', [JobController::class, 'test'])->name('jobs.test');
Route::get('/testInstagramNotification', function (Request $request, BrowserJobsInstances $BrowserJobsInstances) {
$id = 4;
$job = new InstagramNotificationHandlingJob($id);
$log = $job->execute();
dump($log);
dump(response()->json(['message' => 'Job ' . $id . ' ran', 'jobRun' => $log->load('artifacts')]));
});