Update index.js
This commit is contained in:
parent
0587138e7c
commit
e75fffd94c
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -14,7 +14,7 @@ async function run() {
|
||||||
"labels.json"
|
"labels.json"
|
||||||
);
|
);
|
||||||
|
|
||||||
let newLabels = fs.readFileSync(url).toJSON();
|
let newLabels = fs.readFileSync(url).toJSON().data;
|
||||||
|
|
||||||
newLabels.forEach(async label => {
|
newLabels.forEach(async label => {
|
||||||
let { name, color, description } = label;
|
let { name, color, description } = label;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue