Update src/dependency-graph.ts

Co-authored-by: Justin Holguín <juxtin@github.com>
This commit is contained in:
Federico Builes
2023-09-07 07:08:21 -05:00
committed by GitHub
parent ffaf251c92
commit 7d0e0f61e8

View File

@@ -28,7 +28,7 @@ export async function compare({
const changes = await octo.paginate(
{
method: 'GET',
url: '/repos/{owner}/{repo}/dependency-graph/compare/{basehead}?includes_dependency_snapshots=true',
url: '/repos/{owner}/{repo}/dependency-graph/compare/{basehead}',
owner,
repo,
basehead: `${baseRef}...${headRef}`