Browse Source

Update gitignore, correct variable name

Anuj Bansal 3 years ago
parent
commit
45b9b1f4d1
2 changed files with 1 additions and 2 deletions
  1. 0 1
      query-node/.gitignore
  2. 1 1
      query-node/mappings/bootstrap.ts

+ 0 - 1
query-node/.gitignore

@@ -1,3 +1,2 @@
 lib
 generated
-mappings/bootstrap-data/data/*

+ 1 - 1
query-node/mappings/bootstrap.ts

@@ -86,5 +86,5 @@ export async function bootstrapData({ store }: StoreContext): Promise<void> {
         name: m.name,
       })
   )
-  await Promise.all(channelCategories.map((m) => store.save<VideoCategory>(m)))
+  await Promise.all(videoCategories.map((m) => store.save<VideoCategory>(m)))
 }