Skip to content

Commit 7e056e2

Browse files
authored
Merge pull request #141 from codemonium/migrate-mr-notes
Enable note migration by resolving correct response
2 parents 1e58107 + 34015c9 commit 7e056e2

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
@@ -889,8 +889,8 @@ export class GithubHelper {
889889

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

0 commit comments

Comments
 (0)