Skip to content

Commit

Permalink
feat: add category resource
Browse files Browse the repository at this point in the history
  • Loading branch information
phojie committed Dec 4, 2022
1 parent 36f570f commit f9c3d8c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/Http/Resources/CategoryResource.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class CategoryResource extends JsonResource
{
public function toArray($request)
{
return parent::toArray($request);
}
}

0 comments on commit f9c3d8c

Please sign in to comment.