This commit is contained in:
Stephan 2022-01-10 15:02:03 +01:00
parent 4227e0fa09
commit 021137402f

View File

@ -40,18 +40,18 @@ module.exports = ({github, context}) => {
console.log(`event: ${eventName}/${eventAction}`) console.log(`event: ${eventName}/${eventAction}`)
const columnId = context.payload.project_card.column_id const columnId = context.payload.project_card.column_id
const column = restapi.projects.getColumn({ const column = await restapi.projects.getColumn({
column_id: columnId column_id: columnId
}) })
console.log(column) console.log(column)
const cardId = context.payload.project_card.id const cardId = context.payload.project_card.id
const card = restapi.projects.getCard({ const card = await restapi.projects.getCard({
card_id: cardId card_id: cardId
}) })
console.log(card) console.log(card)
const milestones = restapi.issues.listMilestones({ const milestones = await restapi.issues.listMilestones({
repo: context.repo, repo: context.repo,
owner: context.owner owner: context.owner
}) })