Revert "Merge branch 'revert-b9668bb6' into 'master'"

This reverts merge request !157
This commit is contained in:
Dillon Ngo
2024-02-11 10:28:05 +00:00
parent 304379b147
commit f8230990f4
60 changed files with 2380 additions and 152 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class JobResultResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
return [
'job_id' => $this->job_id,
'result' => $this->result,
];
}
}