Browse Source

query-node: fix date types (exported as string by fetch scripts)

Mokhtar Naamani 3 years ago
parent
commit
4f2a8e32ea
1 changed files with 4 additions and 4 deletions
  1. 4 4
      query-node/mappings/bootstrap-data/types.ts

+ 4 - 4
query-node/mappings/bootstrap-data/types.ts

@@ -38,14 +38,14 @@ export type VideoCategoryJson = {
   id: string
   name: string
   createdInBlock: number
-  createdAt: Date
-  updatedAt: Date
+  createdAt: string
+  updatedAt: string
 }
 
 export type ChannelCategoryJson = {
   id: string
   name: string
   createdInBlock: number
-  createdAt: Date
-  updatedAt: Date
+  createdAt: string
+  updatedAt: string
 }