We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aad2235 commit 68cbe7cCopy full SHA for 68cbe7c
src/resolvers/index.ts
@@ -75,7 +75,10 @@ export default {
75
title,
76
body,
77
published: faker.random.boolean(),
78
- createdAt: faker.date.past(),
+ createdAt: faker.date.between(
79
+ new Date('2019-01-01'),
80
+ new Date('2019-12-31'),
81
+ ),
82
author: {
83
id: scuid(),
84
firstName,
@@ -104,7 +107,10 @@ export default {
104
107
105
108
106
109
110
111
112
113
114
author: user,
115
likelyTopics: likelyTopics(`${firstName} ${lastName}`, title, body),
116
}
0 commit comments