We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8820770 commit 94639faCopy full SHA for 94639fa
src/main/kotlin/net/leanix/githubagent/services/GitHubGraphQLService.kt
@@ -100,10 +100,7 @@ class GitHubGraphQLService(
100
throw GraphQLApiException(result.errors!!)
101
}
102
103
- return (
104
- result.data?.repository?.manifestFile as?
105
- net.leanix.githubagent.graphql.`data`.getrepositorymanifestcontent.Blob
106
- )?.text
+ return (result.data?.repository?.manifestFile as? RepositoryManifestBlob)?.text
107
108
109
private fun buildGitHubGraphQLClient(
@@ -114,3 +111,5 @@ class GitHubGraphQLService(
114
111
builder = WebClient.builder().defaultHeaders { it.setBearerAuth(token) }
115
112
)
116
113
+
+typealias RepositoryManifestBlob = net.leanix.githubagent.graphql.`data`.getrepositorymanifestcontent.Blob
0 commit comments