File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
templates/cli/lib/commands Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,11 @@ const initCollection = async ({ all, databaseId } = {}) => {
182
182
183
183
collections.forEach(async collection => {
184
184
log(`Fetching ${collection.name} ...`);
185
- localConfig.addCollection(collection);
185
+ localConfig.addCollection({
186
+ ...collection,
187
+ '$createdAt': undefined,
188
+ '$updatedAt': undefined,
189
+ });
186
190
});
187
191
}
188
192
@@ -201,7 +205,12 @@ const initTeam = async () => {
201
205
202
206
teams.forEach(async team => {
203
207
log(`Fetching ${team.name} ...`);
204
- localConfig.addTeam(team);
208
+ localConfig.addTeam({
209
+ ...team,
210
+ '$createdAt': undefined,
211
+ '$updatedAt': undefined,
212
+ 'total': undefined
213
+ });
205
214
});
206
215
207
216
success();
You can’t perform that action at this time.
0 commit comments