Skip to content

Commit 34015c9

Browse files
committed
Enable note migration by resolving correct response
1 parent cc30593 commit 34015c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/githubHelper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -885,8 +885,8 @@ export class GithubHelper {
885885

886886
try {
887887
// try to create the GitHub pull request from the GitLab issue
888-
await this.githubApi.pulls.create(props);
889-
return Promise.resolve({ data: null }); // need to return null promise for parent to wait on
888+
const response = await this.githubApi.pulls.create(props);
889+
return Promise.resolve(response);
890890
} catch (err) {
891891
if (err.status === 422) {
892892
console.error(

0 commit comments

Comments
 (0)