8000 [Docs] Update UPGRADE-0.8.md (#80) · martynling/laravel-json-api@fcbaa44 · GitHub
[go: up one dir, main page]

Skip to content

Commit fcbaa44

Browse files
dtr0yanlindyhopchris
authored andcommitted
[Docs] Update UPGRADE-0.8.md (cloudcreativity#80)
Fix typo in code snippet
1 parent be8fed9 commit fcbaa44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UPGRADE-0.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ JsonApi::api('default', [
7575
'namespace' => 'Api',
7676
'middleware' => ['my-middleware'],
7777
], function ($api, $router) {
78-
$api->resource('posts', ['has-many' => ['comments', 'tags']);
78+
$api->resource('posts', ['has-many' => ['comments', 'tags']]);
7979
$api->resource('comments', ['has-one' => 'post']);
8080
});
8181
```

0 commit comments

Comments
 (0)
0