From 95832888f34e41ae3c6a3c4117e48a954fe3fb10 Mon Sep 17 00:00:00 2001 From: Lucas Charrier Date: Thu, 1 Feb 2024 11:02:08 +0100 Subject: [PATCH] fix: response should be a json with a property data --- src/lib/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/github.ts b/src/lib/github.ts index dfd5e3a66..c3c3d4709 100644 --- a/src/lib/github.ts +++ b/src/lib/github.ts @@ -234,7 +234,7 @@ export function getPullRequests( }) .then((response) => { const nonDraftPullRequests = response.data.filter((pr) => !pr.draft); - return nonDraftPullRequests; + return { data: nonDraftPullRequests }; }); }