From 34015c95922f22efeccec83959bb0531b1630e41 Mon Sep 17 00:00:00 2001 From: Igor Artemenko Date: Wed, 18 May 2022 09:50:04 -0400 Subject: [PATCH] Enable note migration by resolving correct response --- src/githubHelper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/githubHelper.ts b/src/githubHelper.ts index dd0f863..84f74d5 100644 --- a/src/githubHelper.ts +++ b/src/githubHelper.ts @@ -885,8 +885,8 @@ export class GithubHelper { try { // try to create the GitHub pull request from the GitLab issue - await this.githubApi.pulls.create(props); - return Promise.resolve({ data: null }); // need to return null promise for parent to wait on + const response = await this.githubApi.pulls.create(props); + return Promise.resolve(response); } catch (err) { if (err.status === 422) { console.error(