From a9ad954e9d209982a137fa352404ee076994da32 Mon Sep 17 00:00:00 2001 From: Muhammad Date: Sun, 1 Mar 2020 21:12:06 +0500 Subject: [PATCH] The JS syntax is wrong in sample data file --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2bd7489..92b6562 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,12 @@ const commentCount = 250; module.exports = { "users": [ - "id": 1, "firstname": "Mike", "age": 12, - "id": userCount, "firstname": "Lucy", "age": 31 + { "id": 1, "firstname": "Mike", "age": 12 }, + { "id": userCount, "firstname": "Lucy", "age": 31 } ], "comments": [ - "id": 1, "user_id": 1, "text": "Some text", - "id": commentCount, "user_id": userCount, "text": "Some more text" + { "id": 1, "user_id": 1, "text": "Some text" }, + { "id": commentCount, "user_id": userCount, "text": "Some more text" } ] }; ``` @@ -634,4 +634,4 @@ Will end up as something like: "5": {"firstname": "Lucy", "lastname": "Johnson"} } } -``` \ No newline at end of file +```