From 3b2f17bf7f9b3e352d167b3a78f85579ae6250e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Fiala?= Date: Wed, 5 Apr 2023 09:52:45 +0200 Subject: [PATCH] Fix type mismatch in graphql query --- src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.ts b/src/github.ts index 0b96572..3886125 100644 --- a/src/github.ts +++ b/src/github.ts @@ -51,7 +51,7 @@ export async function lastCommitDate( try { result = await github.graphql( ` -query lastCommitDate($owner: String!, $repo: String!, $sha: String!, $path: String!) { +query lastCommitDate($owner: String!, $repo: String!, $sha: GitObjectID!, $path: String!) { repository(owner: $owner, name: $repo) { object(oid: $sha) { ... on Commit {