From 8e992e36bc073d329e91793232919e6850d281f2 Mon Sep 17 00:00:00 2001 From: fzaninotto Date: Mon, 28 Oct 2019 10:11:15 +0100 Subject: [PATCH] fix incorrect test data in simple example --- examples/simple/src/data.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/simple/src/data.js b/examples/simple/src/data.js index 006c8966024..a11ce43ffab 100644 --- a/examples/simple/src/data.js +++ b/examples/simple/src/data.js @@ -11,8 +11,8 @@ export default { views: 143, average_note: 2.72198, commentable: true, - pictures: { - first: { + pictures: [ + { name: 'the picture name', url: 'http://www.photo-libre.fr/paysage/1.jpg', metas: { @@ -30,11 +30,11 @@ export default { ], }, }, - second: { + { name: 'better name', url: 'http://www.photo-libre.fr/paysage/2.jpg', }, - }, + ], published_at: new Date('2012-08-06'), tags: [1, 3], category: 'tech', @@ -236,7 +236,7 @@ export default { tags: [], category: 'lifestyle', subcategory: 'fitness', - pictures: { first: {}, second: {} }, + pictures: [], backlinks: [ { date: '2012-08-07T00:00:00.000Z',