Skip to content

Commit b45f8d3

Browse files
committed
Set $wrap = false on ProductResource.php
1 parent 2b4d55a commit b45f8d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Http/Resources/ProductResource.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
class ProductResource extends JsonResource
1010
{
11+
public static $wrap = false;
12+
1113
/**
1214
* Transform the resource into an array.
1315
*

0 commit comments

Comments
 (0)