Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.

Commit 8d5d016

Browse files
committed
fix
1 parent 34b9ca6 commit 8d5d016

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/sync.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ P.S. **Don't squash and merge** if GitHub offers you, as this leads to same conf
108108
`;
109109

110110
try {
111-
const { data } = await octokitBot.pulls.create({
111+
const { data: {number: pull_number} } = await octokitBot.pulls.create({
112112
owner: config.org,
113113
repo: `${langInfo.code}.${config.repoSuffix}`,
114114
title,
@@ -123,7 +123,7 @@ P.S. **Don't squash and merge** if GitHub offers you, as this leads to same conf
123123
await octokitBot.pulls.createReviewRequest({
124124
owner: config.org,
125125
repo: `${langInfo.code}.${config.repoSuffix}`,
126-
pull_number: data.number,
126+
pull_number,
127127
reviewers: [langInfo.maintainers[0]]
128128
});*/
129129

0 commit comments

Comments
 (0)