Update index.js

This commit is contained in:
Benjamin Lannon 2018-12-05 20:09:42 -05:00
commit e75fffd94c

View file

@ -14,7 +14,7 @@ async function run() {
"labels.json"
);
let newLabels = fs.readFileSync(url).toJSON();
let newLabels = fs.readFileSync(url).toJSON().data;
newLabels.forEach(async label => {
let { name, color, description } = label;