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 } = {}) => {
182182
183183 collections.forEach(async collection => {
184184 log(`Fetching ${collection.name} ...`);
185- localConfig.addCollection(collection);
185+ localConfig.addCollection({
186+ ...collection,
187+ '$createdAt': undefined,
188+ '$updatedAt': undefined,
189+ });
186190 });
187191 }
188192
@@ -201,7 +205,12 @@ const initTeam = async () => {
201205
202206 teams.forEach(async team => {
203207 log(`Fetching ${team.name} ...`);
204- localConfig.addTeam(team);
208+ localConfig.addTeam({
209+ ...team,
210+ '$createdAt': undefined,
211+ '$updatedAt': undefined,
212+ 'total': undefined
213+ });
205214 });
206215
207216 success();
You can’t perform that action at this time.
0 commit comments