Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit ae4b9a1

Browse files
authored
Update index.js
Small fix to docs.
1 parent ae63dad commit ae4b9a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ function log(type, resource, params, response) {
3030
* import { jsonRestClient } from 'admin-on-rest';
3131
* const restClient = jsonRestClient({
3232
* posts: [
33-
* { id: 0, title, 'Hello, world!' },
34-
* { id: 1, title, 'FooBar' },
33+
* { id: 0, title: 'Hello, world!' },
34+
* { id: 1, title: 'FooBar' },
3535
* ],
3636
* comments: [
3737
* { id: 0, post_id: 0, author: 'John Doe', body: 'Sensational!' },

0 commit comments

Comments
 (0)