1
0
This commit is contained in:
Stephan 2021-12-16 13:55:52 +01:00
parent 435be3b612
commit 04327b45b0

View File

@ -49,7 +49,7 @@ jobs:
}) })
console.log(projects) console.log(projects)
console.log(`retrieved ${projects.length} projects.`) console.log(`retrieved ${projects.length} projects.`)
const project = firstOrDefault(projects, (x) => x.name === project_name) const project = firstOrDefault(projects.data, (x) => x.name === project_name)
//var project = null //var project = null
//for (const p of projects) { //for (const p of projects) {
// if (p.name === project_name) { // if (p.name === project_name) {
@ -69,7 +69,7 @@ jobs:
project_id: project.id project_id: project.id
}) })
var column = null var column = null
for (const c of columns) { for (const c of columns.data) {
if (c.name === column_name) { if (c.name === column_name) {
column = c column = c
} }