From ada0007158f03d19f6d04634e527b448c54cca45 Mon Sep 17 00:00:00 2001 From: Michael Shick Date: Wed, 8 Apr 2020 17:15:03 -0700 Subject: [PATCH] fix: pulls request path --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 24306fc..91b3782 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2006,7 +2006,7 @@ const getPulls = async (repoToken, repo, commitSha) => { core.debug(JSON.stringify(body)); - return body; + return body.result; }; async function run() { diff --git a/index.js b/index.js index 5976f13..82c3d0e 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ const getPulls = async (repoToken, repo, commitSha) => { core.debug(JSON.stringify(body)); - return body; + return body.result; }; async function run() {