From cff142b535118a0cd748f81a2a4817ae32965831 Mon Sep 17 00:00:00 2001 From: Henri Maurer Date: Wed, 7 Jun 2023 14:04:29 +0100 Subject: [PATCH] includes_dependency_snapshots --- src/dependency-graph.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/dependency-graph.ts b/src/dependency-graph.ts index 7532104..ffdce97 100644 --- a/src/dependency-graph.ts +++ b/src/dependency-graph.ts @@ -28,13 +28,11 @@ export async function compare({ const changes = await octo.paginate( { method: 'GET', - url: '/repos/{owner}/{repo}/dependency-graph/compare/{basehead}', + url: '/repos/{owner}/{repo}/dependency-graph/compare/{basehead}{?includes_dependency_snapshots}', owner, repo, basehead: `${baseRef}...${headRef}`, - headers: { - 'If-None-Match': '' - } + includes_dependency_snapshots: true }, response => { if (