Skip to content
This repository was archived by the owner on Apr 5, 2020. It is now read-only.

Commit a748175

Browse files
committed
fix: tables lookup
1 parent f46bc82 commit a748175

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const { EOL } = require('os')
22
const tables = require('./data/tables')
33
const tableTypes = Object.keys(tables).map(table => `${table}: String`).join(EOL)
4-
const tableTypesRequired = tables.map(table => `${table}: String!`).join(EOL)
4+
const tableTypesRequired = Object.keys(tables).map(table => `${table}: String!`).join(EOL)
55

66
/* eslint max-len: 0 */
77
module.exports = `

0 commit comments

Comments
 (0)