Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
fix: response should be a json with a property data
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasCharrier committed Feb 1, 2024
1 parent e74c6d5 commit 9583288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export function getPullRequests(
})
.then((response) => {
const nonDraftPullRequests = response.data.filter((pr) => !pr.draft);
return nonDraftPullRequests;
return { data: nonDraftPullRequests };
});
}

Expand Down

0 comments on commit 9583288

Please sign in to comment.