diff --git a/tap_github/repository_streams.py b/tap_github/repository_streams.py index 74c1b8cf..05059e55 100644 --- a/tap_github/repository_streams.py +++ b/tap_github/repository_streams.py @@ -1591,7 +1591,7 @@ def query(self) -> str: # Graphql id is equivalent to REST node_id. To keep the tap consistent, we rename "id" to "node_id". return """ query repositoryStargazers($repo: String! $org: String! $nextPageCursor_0: String) { - repository(name: $repo owner: $org) { + repository(name: $repo owner: $org) { stargazers(first: 100 orderBy: {field: STARRED_AT direction: DESC} after: $nextPageCursor_0) { pageInfo { hasNextPage_0: hasNextPage @@ -2124,7 +2124,7 @@ def query(self) -> str: th.Property("node_id", th.StringType), th.Property("id", th.IntegerType), th.Property("name_with_owner", th.StringType), - th.Property("url", th.IntegerType), + th.Property("url", th.StringType), th.Property( "owner", th.ObjectType(