Fix post file input not found
All checks were successful
Push image to registry / build-image (push) Successful in 2m49s
All checks were successful
Push image to registry / build-image (push) Successful in 2m49s
This commit is contained in:
@@ -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')]));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user