fix: wrong object key

This commit is contained in:
iam4x
2019-08-26 14:45:23 +02:00
parent 224270736d
commit 5ce38e9703

View File

@@ -13,14 +13,14 @@ const zeitAPIClient = axios.create({
},
params: {
teamId: process.env.ZEIT_TEAMID || undefined,
"meta-commit": 'd6200a8bf4bd77d1d35e13e174dcc5f30bee85e5'
"meta-commit": "d6200a8bf4bd77d1d35e13e174dcc5f30bee85e5"
}
});
// Run your GitHub Action!
Toolkit.run(async tools => {
const { data: comments } = await tools.github.issues.listComments({
...repo.owner,
...tools.context.repo,
issue_number: tools.context.payload.pull_request.number
});
@@ -44,7 +44,7 @@ Toolkit.run(async tools => {
if (zeitPreviewURLComment) {
await tools.github.issues.updateComment({
...repo.owner,
...tools.context.repo,
id: zeitPreviewURLComment.id,
body: commentBody
});