diff --git a/src/dependency-graph.ts b/src/dependency-graph.ts index ffdce97..1f97047 100644 --- a/src/dependency-graph.ts +++ b/src/dependency-graph.ts @@ -28,11 +28,10 @@ export async function compare({ const changes = await octo.paginate( { method: 'GET', - url: '/repos/{owner}/{repo}/dependency-graph/compare/{basehead}{?includes_dependency_snapshots}', + url: '/repos/{owner}/{repo}/dependency-graph/compare/{basehead}?includes_dependency_snapshots=true', owner, repo, - basehead: `${baseRef}...${headRef}`, - includes_dependency_snapshots: true + basehead: `${baseRef}...${headRef}` }, response => { if (