From bae57464998e15a35387f248876ad6d50b01516c Mon Sep 17 00:00:00 2001 From: "igor.js" <2278164+igorjs@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:52:56 +1000 Subject: [PATCH] Fix Map type in api.ts (#127) Signed-off-by: igor.js <2278164+igorjs@users.noreply.github.com> --- src/helpers/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/api.ts b/src/helpers/api.ts index 3d79277..fd48472 100644 --- a/src/helpers/api.ts +++ b/src/helpers/api.ts @@ -45,7 +45,7 @@ export function getApi({ token, owner, repo }) { // FIXME: Refactor this monstruosity ASAP - 04/05/2024 async function getWorkflowRuns(): Promise { - const workflowsMap: Map = new Map(); + const workflowsMap = new Map(); const workflows = await client.paginate( client.rest.actions.listRepoWorkflows,